/* ============================================================
   B2B INDUSTRIAL THEME — MAIN CSS
   Font: Roboto 500/600/700/900
   Colors: #C00000 (red) · #000000 (black) · #fff (white)
   Max-width: 1400px
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    color: #333;
    background: #eee;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #C00000; text-decoration: none; }
a:hover { opacity: 0.85; }

/* ============================================================
   LAYOUT CONTAINER
   ============================================================ */
.b2b-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.b2b-container-card {
    border-radius: 8px;
    padding: 28px;
}

.b2b-bg-white { background: #fff; }
.b2b-bg-gray  { background: #f0f0f0; }

/* ============================================================
   HEADER
   ============================================================ */
.b2b-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    will-change: transform;
}

/* TOP BAR */
.b2b-topbar { background: #1a1a1a; }

.b2b-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.b2b-topbar-left i { font-size: 18px; color: #C00000; }
.b2b-topbar-left a { color: #fff; }

/* SEARCH FORM */
.b2b-search-form {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border: 0.5px solid #444;
    border-radius: 3px;
    overflow: hidden;
}

.b2b-search-form input[type="search"] {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    padding: 6px 12px;
    width: 220px;
}

.b2b-search-form input[type="search"]::placeholder { color: #888; }

.b2b-search-form button {
    background: #C00000;
    border: none;
    cursor: pointer;
    padding: 7px 13px;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.b2b-search-form button:hover { background: #a00000; }
.b2b-search-form button i { font-size: 18px; }

/* MAIN NAV */
.b2b-mainnav-wrap { background: #C00000; width: 100%; }

.b2b-mainnav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    min-height: 64px;
}

/* LOGO */
.b2b-logo-wrap {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 10px 24px;
    min-width: 220px;
    flex-shrink: 0;
}

.b2b-logo-link { display: flex; align-items: center; gap: 10px; }

.b2b-logo-text {
    font-size: 18px;
    font-weight: 900;
    color: #C00000;
    line-height: 1.2;
}

.b2b-logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
}

/* NAV MENU */
.b2b-nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
}

.b2b-menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
    flex: 1;
}

.b2b-menu-list li { height: 100%; }

.b2b-menu-list li a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 0.5px solid rgba(255,255,255,0.15);
    transition: background 0.2s;
    white-space: nowrap;
}

.b2b-menu-list li a:hover,
.b2b-menu-list li.current-menu-item > a { background: rgba(0,0,0,0.2); }

/* QUOTE CART BUTTON */
.b2b-quote-cart-btn {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    border-left: 0.5px solid rgba(255,255,255,0.15);
    margin-left: auto;
    transition: background 0.2s;
    white-space: nowrap;
}

.b2b-quote-cart-btn:hover { background: rgba(0,0,0,0.2); color: #fff; }

.b2b-cart-count {
    background: #fff;
    color: #C00000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* HAMBURGER */
.b2b-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    margin-left: auto;
}

.b2b-menu-toggle i { font-size: 26px; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.b2b-hero-slider { position: relative; width: 100%; }

.b2b-progress-bar {
    height: 4px;
    background: #C00000;
    width: 0%;
    position: relative;
    z-index: 10;
    transition: width 7s linear;
}

.b2b-slider-wrap {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    background: #111;
}

.b2b-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.b2b-slide.active { opacity: 1; }

.b2b-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
}

.b2b-slide-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px;
}

.b2b-slide-tag {
    display: inline-block;
    background: #C00000;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 4px 16px;
    border-radius: 2px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.b2b-slide-title {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 14px;
}

.b2b-slide-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 560px;
}

.b2b-slide-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.b2b-slide-btn {
    display: inline-block;
    background: #C00000;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.b2b-slide-btn:hover { background: #a00000; color: #fff; }

.b2b-slide-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 3px;
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
}

.b2b-slide-btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* SLIDER CONTROLS */
.b2b-arr-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(192,0,0,0.8);
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.b2b-arr-btn:hover { background: #C00000; }
.b2b-arr-btn i { font-size: 22px; }
.b2b-arr-prev { left: 20px; }
.b2b-arr-next { right: 20px; }

.b2b-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.b2b-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.b2b-dot.active {
    background: #C00000;
    width: 28px;
    border-radius: 4px;
}

.b2b-slide-num {
    position: absolute;
    bottom: 20px;
    right: 24px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    z-index: 10;
    font-family: monospace;
}

/* ============================================================
   SECTIONS CHUNG
   ============================================================ */
.b2b-section { padding: 40px 0; }

.b2b-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.b2b-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Canh lề trái cho section head trong lower sections */
.b2b-lower-section .b2b-section-head,
.b2b-galaxy-section .b2b-section-head,
.b2b-rfq-section .b2b-section-head,
.b2b-related-section .b2b-section-head {
    justify-content: flex-start;
    gap: 12px;
}

.b2b-title-bar {
    width: 5px;
    height: 30px;
    background: #C00000;
    border-radius: 2px;
    flex-shrink: 0;
}

.b2b-section-title {
    font-size: 26px;
    font-weight: 900;
    color: #111;
}

.b2b-view-all {
    font-size: 16px;
    color: #C00000;
    font-weight: 700;
    border: 1px solid #C00000;
    padding: 7px 16px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.b2b-view-all:hover { background: #C00000; color: #fff; }
.b2b-view-all i { font-size: 16px; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.b2b-product-grid { display: grid; gap: 16px; }
.b2b-grid-4 { grid-template-columns: repeat(4, 1fr); }

.b2b-product-card {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.b2b-product-card:hover {
    border-color: #C00000;
    transform: translateY(-2px);
}

.b2b-card-img {
    width: 100%;
    height: 150px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.b2b-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.b2b-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-card-img-placeholder i { font-size: 44px; color: #ddd; }

.b2b-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #C00000;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.b2b-card-body { padding: 12px; }

.b2b-card-brand {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    font-weight: 600;
}

.b2b-card-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin-bottom: 5px;
    min-height: 38px;
}

.b2b-card-name a { color: #111; }
.b2b-card-name a:hover { color: #C00000; }

.b2b-card-sku {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 10px;
    font-family: monospace;
}

.b2b-card-divider { height: 0.5px; background: #eee; margin-bottom: 10px; }

.b2b-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.b2b-card-price {
    font-size: 17px;
    font-weight: 900;
    color: #C00000;
}

.b2b-btn-rfq {
    background: #C00000;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
    white-space: nowrap;
}

.b2b-btn-rfq:hover { background: #a00000; color: #fff; }
.b2b-btn-rfq i { font-size: 14px; }

/* ============================================================
   MEDIA SECTION
   ============================================================ */
.b2b-media-section { background: #f0f0f0; }

.b2b-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.b2b-media-card {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.b2b-yt-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #111;
}

.b2b-yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.b2b-yt-placeholder,
.b2b-gallery-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #1a0000, #2d0000);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.b2b-yt-placeholder i,
.b2b-gallery-placeholder i { font-size: 52px; color: rgba(255,255,255,0.2); }
.b2b-yt-placeholder span,
.b2b-gallery-placeholder span { font-size: 14px; color: rgba(255,255,255,0.4); }

.b2b-gallery-wrap { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; }

.b2b-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s;
}

.b2b-gallery-slide.active { opacity: 1; }

.b2b-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b-media-footer {
    background: #111;
    padding: 10px 14px;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   PRODUCT DETAIL — UPPER
   ============================================================ */
.b2b-product-upper { background: #fff; padding: 36px 0; }

.b2b-product-upper-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.b2b-product-main-img {
    background: #f7f7f7;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.b2b-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f7f7f7;
    border-radius: 6px;
}

.b2b-product-img-placeholder i {
    font-size: 80px;
    color: #ddd;
}

.b2b-product-img-placeholder span {
    font-size: 14px;
    color: #bbb;
}

/* Product Info */
.b2b-prod-title-wrap { padding-bottom: 16px; border-bottom: 0.5px solid #eee; margin-bottom: 16px; }

.b2b-prod-tag {
    display: inline-block;
    background: #C00000;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.b2b-prod-title {
    font-size: 31px;
    font-weight: 900;
    color: #111;
    line-height: 1.35;
}

.b2b-prod-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 0.5px solid #eee;
    margin-bottom: 16px;
}

.b2b-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.b2b-meta-label {
    color: #888;
    font-weight: 700;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.b2b-meta-label i { font-size: 18px; }

.b2b-meta-value {
    color: #111;
    font-weight: 900;
    font-family: monospace;
}

.b2b-meta-sku {
    background: #f5f5f5;
    padding: 3px 12px;
    border-radius: 3px;
    border: 0.5px solid #e0e0e0;
}

.b2b-prod-price {
    font-size: 22px;
    color: #C00000;
    font-family: 'Roboto', sans-serif;
}

.b2b-prod-short-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    padding: 14px 0;
    border-bottom: 0.5px solid #eee;
    margin-bottom: 20px;
}

/* Product Buttons */
.b2b-prod-btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.b2b-btn-contact {
    background: #C00000;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    justify-content: center;
    transition: background 0.2s;
}

.b2b-btn-contact:hover { background: #a00000; color: #fff; }
.b2b-btn-contact i { font-size: 21px; }

.b2b-btn-datasheet {
    background: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 4px;
    border: 1.5px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.b2b-btn-datasheet:hover { border-color: #C00000; color: #C00000; }
.b2b-btn-datasheet i { font-size: 20px; color: #C00000; }

/* ============================================================
   PRODUCT DETAIL — LOWER SECTIONS
   ============================================================ */
.b2b-lower-section { padding: 32px 0; }

.b2b-desc-content {
    font-size: 19px;
    color: #444;
    line-height: 1.8;
}

.b2b-desc-content p { margin-bottom: 14px; }
.b2b-desc-content strong { color: #111; }
.b2b-desc-content ul, .b2b-desc-content ol { padding-left: 20px; margin-bottom: 14px; }

.b2b-spec-content { font-size: 18px; }

.b2b-spec-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}

.b2b-spec-content table tr { border-bottom: 0.5px solid #e0e0e0; }
.b2b-spec-content table tr:nth-child(even) { background: #f7f7f7; }
.b2b-spec-content table tr:nth-child(odd) { background: #fff; }

.b2b-spec-content table td {
    padding: 13px 18px;
    border: 0.5px solid #e0e0e0;
    color: #333;
    vertical-align: middle;
    line-height: 1.5;
}

.b2b-spec-content table td:first-child {
    font-weight: 900;
    color: #111;
    background: #f0f0f0;
    width: 38%;
}

.b2b-spec-content table tr:hover td { background: #fff8f8; }
.b2b-spec-content table tr:hover td:first-child { background: #f5e6e6; }

/* ============================================================
   GALAXY SECTION
   ============================================================ */
.b2b-galaxy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.b2b-galaxy-col { border-radius: 6px; overflow: hidden; background: #000; }

.b2b-galaxy-yt-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.b2b-galaxy-yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.b2b-galaxy-img-wrap { width: 100%; }
.b2b-galaxy-img-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.b2b-galaxy-placeholder {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.b2b-galaxy-placeholder-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.b2b-galaxy-placeholder i { font-size: 52px; color: rgba(255,255,255,0.2); }
.b2b-galaxy-placeholder span { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ============================================================
   RFQ FORM — SECTION 12
   ============================================================ */
.b2b-rfq-section { background: transparent; }

.b2b-rfq-form-wrap { width: 100%; }

/* Success / Error messages */
.rfq-success-msg {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    font-size: 17px;
}

.rfq-success-msg i { font-size: 28px; color: #2e7d32; flex-shrink: 0; }
.rfq-success-msg strong { display: block; font-size: 18px; margin-bottom: 4px; color: #1b5e20; }
.rfq-success-msg p { color: #2e7d32; margin: 0; }

.rfq-error-msg {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #b71c1c;
}

.rfq-error-msg i { font-size: 22px; flex-shrink: 0; }

/* Form Groups */
.rfq-group {
    background: #fafafa;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 18px;
}

.rfq-group-title {
    font-size: 18px;
    font-weight: 900;
    color: #111;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C00000;
}

.rfq-group-title i { font-size: 20px; color: #C00000; }

.rfq-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.rfq-row:last-child { margin-bottom: 0; }

.rfq-row.rfq-row-2 { grid-template-columns: 1fr 1fr; }

.rfq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rfq-field.full { grid-column: 1 / -1; }

.rfq-field label {
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.req { color: #C00000; }

.rfq-field input,
.rfq-field textarea {
    border: 0.5px solid #ddd;
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    background: #fff;
}

.rfq-field input:focus,
.rfq-field textarea:focus { border-color: #C00000; }

.rfq-field textarea { min-height: 110px; resize: vertical; }

.rfq-readonly { background: #f5f5f5 !important; color: #666; cursor: default; }

.rfq-price { font-weight: 900; color: #C00000; font-size: 18px; }

.rfq-total { background: #fff8f8 !important; }

.rfq-input-error { border-color: #f44336 !important; }

.rfq-field-error {
    font-size: 13px;
    color: #f44336;
    min-height: 16px;
}

/* Quantity controls */
.rfq-qty-wrap {
    display: flex;
    align-items: center;
    border: 0.5px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.rfq-qty-btn {
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.rfq-qty-btn:hover { background: #C00000; color: #fff; }

.rfq-qty-input {
    border: none !important;
    border-left: 0.5px solid #ddd !important;
    border-right: 0.5px solid #ddd !important;
    border-radius: 0 !important;
    text-align: center;
    width: 70px;
    font-size: 18px;
    font-weight: 900;
    padding: 10px 8px;
}

.rfq-qty-input:focus { border-color: #ddd !important; }

/* Invoice Toggle */
.rfq-invoice-toggle {
    margin-bottom: 16px;
}

.rfq-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.rfq-checkbox-label input[type="checkbox"] { display: none; }

.rfq-checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.rfq-checkbox-label input:checked + .rfq-checkbox-custom {
    background: #C00000;
    border-color: #C00000;
}

.rfq-checkbox-label input:checked + .rfq-checkbox-custom::after {
    content: '';
    width: 6px;
    height: 11px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.rfq-checkbox-label i { font-size: 20px; color: #C00000; }

.rfq-invoice-fields {
    padding-top: 16px;
    border-top: 0.5px solid #eee;
}

/* Submit */
.rfq-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rfq-submit-btn {
    background: #C00000;
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    padding: 15px 36px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.rfq-submit-btn:hover { background: #a00000; }
.rfq-submit-btn:disabled { background: #888; cursor: not-allowed; }
.rfq-submit-btn i { font-size: 21px; }

.rfq-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rfq-submit-note {
    font-size: 15px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rfq-submit-note i { font-size: 18px; color: #4caf50; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.b2b-breadcrumb {
    background: #f7f7f7;
    border-bottom: 0.5px solid #e0e0e0;
    padding: 10px 0;
}

.b2b-breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 16px;
    color: #888;
}

.b2b-breadcrumb-inner a { color: #C00000; }
.b2b-breadcrumb-inner span { color: #333; }
.b2b-breadcrumb-inner i { font-size: 14px; color: #ccc; }

/* ============================================================
   FOOTER
   ============================================================ */
.b2b-footer { background: #000; padding: 40px 0 0; }

.b2b-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.b2b-footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
}

.b2b-footer-col-title {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C00000;
    display: inline-block;
}

.b2b-footer-follow-text {
    font-size: 19px;
    color: #aaa;
    margin-bottom: 16px;
    line-height: 1.6;
}

.b2b-social-row { display: flex; gap: 12px; }

.b2b-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.b2b-social-btn:hover { opacity: 0.85; }
.b2b-social-btn i { font-size: 20px; color: #fff; }
.b2b-social-fb { background: #1877F2; }
.b2b-social-yt { background: #C00000; }

.b2b-company-info { display: flex; flex-direction: column; gap: 10px; }

.b2b-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 19px;
    color: #ccc;
    line-height: 1.5;
}

.b2b-info-row i { font-size: 21px; color: #C00000; flex-shrink: 0; margin-top: 2px; }
.b2b-info-row strong { color: #fff; }
.b2b-info-row a { color: #ccc; }
.b2b-info-row a:hover { color: #C00000; }

.b2b-footer-logo { margin-bottom: 12px; }

.b2b-footer-logo-text {
    font-size: 21px;
    font-weight: 900;
    color: #fff;
}

.b2b-footer-tagline {
    font-size: 17px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 14px;
}

.b2b-cert-row { display: flex; gap: 8px; flex-wrap: wrap; }

.b2b-cert-badge {
    background: #111;
    border: 0.5px solid #333;
    border-radius: 3px;
    padding: 4px 12px;
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.b2b-cert-badge i { font-size: 14px; color: #C00000; }

.b2b-footer-bottom { background: #0a0a0a; border-top: 0.5px solid #1a1a1a; padding: 14px 0; }

.b2b-footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.b2b-copyright { font-size: 14px; color: #555; }
.b2b-copyright a { color: #C00000; }

.b2b-footer-menu-list {
    display: flex;
    list-style: none;
    gap: 16px;
}

.b2b-footer-menu-list li a {
    font-size: 14px;
    color: #555;
}

.b2b-footer-menu-list li a:hover { color: #C00000; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .b2b-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .b2b-footer-grid { grid-template-columns: 1fr 1fr; }
    .b2b-footer-col-wide { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* Header */
    .b2b-menu-toggle { display: flex; }
    .b2b-nav-menu { display: none; }
    .b2b-nav-menu.b2b-nav-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #C00000;
        z-index: 999;
        padding: 10px 0;
    }
    .b2b-menu-list { flex-direction: column; height: auto; }
    .b2b-menu-list li { width: 100%; height: auto; }
    .b2b-menu-list li a { padding: 12px 20px; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.15); }
    .b2b-quote-cart-btn { border-left: none; border-top: 0.5px solid rgba(255,255,255,0.15); width: 100%; padding: 12px 20px; }

    /* Slider */
    .b2b-slider-wrap { height: 360px; }
    .b2b-slide-title { font-size: 32px; }
    .b2b-slide-sub { font-size: 16px; }

    /* Product grid */
    .b2b-product-upper-grid { grid-template-columns: 1fr; }
    .b2b-media-grid { grid-template-columns: 1fr; }
    .b2b-galaxy-grid { grid-template-columns: 1fr; }

    /* Footer */
    .b2b-footer-grid { grid-template-columns: 1fr; }
    .b2b-footer-bottom-inner { flex-direction: column; text-align: center; }

    /* RFQ Form */
    .rfq-row { grid-template-columns: 1fr; }
    .rfq-submit-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .b2b-slide-title { font-size: 26px; }
    .b2b-slide-content { padding: 0 24px; }
    .b2b-grid-4 { grid-template-columns: 1fr; }
    .b2b-search-form input[type="search"] { width: 140px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.b2b-no-products {
    text-align: center;
    color: #888;
    font-size: 18px;
    padding: 40px 0;
}

/* ============================================================
   FOOTER FIX - Đảm bảo footer luôn hiển thị
   ============================================================ */
.b2b-footer { display: block !important; visibility: visible !important; }
.b2b-footer-grid { display: grid !important; }

/* ============================================================
   CATEGORY PAGE — LAYOUT, SIDEBAR MENU, PRODUCT GRID
   ============================================================ */

.b2b-cat-wrap { padding: 28px 0 48px; }

.b2b-cat-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
    align-items: start;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.b2b-cat-sidebar {
    position: sticky;
    top: 70px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Search */
.b2b-cat-search-wrap {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: 12px;
}

.b2b-cat-search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.b2b-cat-search-form input[type="search"] {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    padding: 8px 10px;
    flex: 1;
    color: #333;
    min-width: 0;
}

.b2b-cat-search-form button {
    background: #C00000;
    border: none;
    padding: 8px 11px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.b2b-cat-search-form button:hover { background: #a00000; }
.b2b-cat-search-form button i { font-size: 14px; }

/* Menu */
.b2b-cat-menu {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.b2b-cat-menu-header {
    background: #C00000;
    padding: 11px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}

.b2b-cat-menu-header i { font-size: 16px; }

/* Level 1 */
.b2b-cat-l1-item {
    border-bottom: 0.5px solid #eee;
}

.b2b-cat-l1-item:last-child { border-bottom: none; }

.b2b-cat-l1-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.b2b-cat-l1-link:hover {
    background: #fff5f5;
    color: #C00000;
    border-left-color: #C00000;
}

.b2b-cat-l1-link.active {
    background: #C00000;
    color: #fff;
    border-left-color: #C00000;
}

.b2b-cat-l1-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2b-cat-l1-left i { font-size: 15px; color: #C00000; }
.b2b-cat-l1-link.active .b2b-cat-l1-left i { color: #fff; }

.b2b-cat-l1-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.b2b-cat-count {
    font-size: 11px;
    background: #f0f0f0;
    color: #888;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.b2b-cat-l1-link.active .b2b-cat-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.b2b-cat-chevron {
    font-size: 13px;
    color: #aaa;
    transition: transform 0.25s;
}

.b2b-cat-l1-item.is-open .b2b-cat-chevron { transform: rotate(90deg); }
.b2b-cat-l1-link.active .b2b-cat-chevron { color: rgba(255,255,255,0.7); }

/* Level 2 */
.b2b-cat-l2-list {
    background: #fafafa;
    border-top: 0.5px solid #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.b2b-cat-l2-list.is-open { max-height: 600px; }

.b2b-cat-l2-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px 8px 32px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-bottom: 0.5px solid #f0f0f0;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.b2b-cat-l2-link:last-child { border-bottom: none; }

.b2b-cat-l2-link:hover {
    background: #fff0f0;
    color: #C00000;
    padding-left: 38px;
    border-left-color: #C00000;
}

.b2b-cat-l2-link.active {
    background: #fff0f0;
    color: #C00000;
    font-weight: 700;
    border-left-color: #C00000;
    padding-left: 29px;
}

.b2b-cat-l2-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.b2b-cat-l2-left i { font-size: 12px; color: #bbb; }
.b2b-cat-l2-link.active .b2b-cat-l2-left i { color: #C00000; }

.b2b-cat-count-sm {
    font-size: 10px;
    background: #f0f0f0;
    color: #aaa;
    padding: 1px 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

.b2b-cat-l2-link.active .b2b-cat-count-sm {
    background: #ffe8e8;
    color: #C00000;
}

/* ============================================================
   CONTENT HEADER
   ============================================================ */
.b2b-cat-main { display: flex; flex-direction: column; gap: 18px; }

.b2b-cat-content-head {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.b2b-cat-content-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.b2b-cat-h1 {
    font-size: 20px;
    font-weight: 900;
    color: #111;
    margin: 0 0 3px;
}

.b2b-cat-count-text {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.b2b-cat-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    flex-shrink: 0;
}

.b2b-cat-sort-wrap > span { display: none; }

.b2b-sort-select {
    border: 0.5px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.b2b-sort-select:focus { border-color: #C00000; }

/* ============================================================
   PRODUCT CARD — CAT PAGE SPECIFIC
   ============================================================ */
.b2b-cat-card { position: relative; }

.b2b-newtab-hint {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 3px;
    display: none;
    align-items: center;
    gap: 3px;
    pointer-events: none;
}

.b2b-cat-card:hover .b2b-newtab-hint { display: flex; }

/* ============================================================
   PAGINATION
   ============================================================ */
.b2b-cat-pagination {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.b2b-page-info { font-size: 13px; color: #888; }

.b2b-page-btns { display: flex; gap: 6px; flex-wrap: wrap; }

.b2b-page-btn {
    min-width: 34px;
    height: 34px;
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 8px;
    transition: all 0.2s;
}

.b2b-page-btn:hover { border-color: #C00000; color: #C00000; }
.b2b-page-btn.active { background: #C00000; border-color: #C00000; color: #fff; }
.b2b-page-btn i { font-size: 15px; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.b2b-empty-state {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 56px 24px;
    text-align: center;
}

.b2b-empty-state > i {
    font-size: 56px;
    color: #ddd;
    display: block;
    margin-bottom: 16px;
}

.b2b-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
}

.b2b-empty-sub {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 24px;
    line-height: 1.6;
}

.b2b-empty-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.b2b-back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: #C00000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(192,0,0,0.3);
}

.b2b-back-top:hover { background: #a00000; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .b2b-cat-layout { grid-template-columns: 280px 1fr; }
}

@media (max-width: 900px) {
    .b2b-cat-layout { grid-template-columns: 240px 1fr; }
}

@media (max-width: 768px) {
    .b2b-cat-layout { grid-template-columns: 1fr; }
    .b2b-cat-sidebar { position: static; }
    .b2b-cat-l2-list { max-height: none; }
    .b2b-cat-l2-list.is-open { max-height: 600px; }
}

/* ============================================================
   ABOUT PAGE — FULL COMPREHENSIVE
   ============================================================ */

.b2b-about-page { background: #eee; }

.b2b-about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* HERO */
.b2b-about-hero {
    background: #1c1c1c;
    border-left: 5px solid #C00000;
    width: 100%;
    padding: 56px 0;
}

.b2b-about-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.b2b-about-hero-content { max-width: 760px; }

.b2b-about-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #C00000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 3px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.b2b-about-hero-tag i { font-size: 16px; }

.b2b-about-hero-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
}

.b2b-about-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 640px;
}

.b2b-about-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.b2b-about-hero-tags span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 3px;
    border: 0.5px solid rgba(255,255,255,0.15);
}

.b2b-about-hero-tags span i { font-size: 15px; }

/* SECTION BASE */
.b2b-about-section {
    background: #fff;
    border-radius: 8px;
    padding: 36px;
    margin-top: 20px;
}

.b2b-about-sec-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.b2b-about-sec-head h2 {
    font-size: 22px;
    font-weight: 900;
    color: #111;
    margin: 0;
}

.b2b-about-sec-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* STATS */
.b2b-about-stats-section {
    background: #fff;
    padding: 28px 36px;
}

.b2b-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.b2b-stat-card {
    background: #fff8f8;
    border: 0.5px solid #ffe0e0;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.b2b-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #C00000;
}

.b2b-stat-icon {
    font-size: 28px;
    color: #C00000;
    margin-bottom: 10px;
}

.b2b-stat-icon i { font-size: 28px; }

.b2b-stat-num {
    font-size: 40px;
    font-weight: 900;
    color: #C00000;
    line-height: 1;
    display: inline;
}

.b2b-stat-unit {
    font-size: 28px;
    font-weight: 900;
    color: #C00000;
    display: inline;
}

.b2b-stat-label {
    font-size: 14px;
    color: #888;
    margin-top: 8px;
    font-weight: 600;
}

/* 2 COLUMN */
.b2b-about-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.b2b-about-intro p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* VALUES */
.b2b-about-values {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.b2b-value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #fff8f8;
    border-left: 3px solid #C00000;
    border-radius: 0 6px 6px 0;
}

.b2b-value-item > i {
    font-size: 20px;
    color: #C00000;
    flex-shrink: 0;
    margin-top: 2px;
}

.b2b-value-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 3px;
}

.b2b-value-item span {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* TIMELINE */
.b2b-timeline {
    position: relative;
    padding-left: 16px;
}

.b2b-timeline::before {
    content: '';
    position: absolute;
    left: 52px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.b2b-tl-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}

.b2b-tl-year {
    font-size: 13px;
    font-weight: 900;
    color: #C00000;
    min-width: 40px;
    padding-top: 3px;
    flex-shrink: 0;
}

.b2b-tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #C00000;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.b2b-tl-current .b2b-tl-dot {
    background: #C00000;
    width: 16px;
    height: 16px;
}

.b2b-tl-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.b2b-tl-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* MISSION */
.b2b-about-mission {
    background: #111;
}

.b2b-about-mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
}

.b2b-mission-card {
    padding: 24px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    border: 0.5px solid rgba(255,255,255,0.1);
}

.b2b-mission-card > i {
    font-size: 32px;
    color: #C00000;
    margin-bottom: 14px;
    display: block;
}

.b2b-mission-card h2,
.b2b-mission-card h3 {
    color: #fff;
    font-weight: 900;
    margin-bottom: 12px;
}

.b2b-mission-card h2 { font-size: 20px; }
.b2b-mission-card h3 { font-size: 16px; }

.b2b-mission-card blockquote {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-style: italic;
    border-left: 3px solid #C00000;
    padding-left: 16px;
    margin: 0;
}

.b2b-mission-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0;
}

/* PARTNERS */
.b2b-partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.b2b-partner-card {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}

.b2b-partner-card:hover {
    border-color: #C00000;
    transform: translateY(-3px);
}

.b2b-partner-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.b2b-partner-icon i { font-size: 26px; color: #C00000; }

.b2b-partner-name {
    font-size: 16px;
    font-weight: 900;
    color: #111;
    margin-bottom: 5px;
}

.b2b-partner-country {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.b2b-partner-country i { font-size: 12px; color: #C00000; }

.b2b-partner-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.b2b-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    background: #fff0f0;
    color: #C00000;
    padding: 3px 10px;
    border-radius: 3px;
}

.b2b-partner-badge i { font-size: 12px; }

/* SERVICES */
.b2b-about-services { background: #f7f7f7; }

.b2b-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.b2b-service-card {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s;
}

.b2b-service-card:hover {
    border-color: #C00000;
    transform: translateY(-2px);
}

.b2b-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #fff0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.b2b-service-icon i { font-size: 24px; color: #C00000; }

.b2b-service-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.b2b-service-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* CERTS */
.b2b-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.b2b-cert-card {
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    background: #fff;
    transition: all 0.2s;
}

.b2b-cert-card:hover { border-color: #C00000; }

.b2b-cert-icon {
    font-size: 36px;
    color: #C00000;
    margin-bottom: 12px;
}

.b2b-cert-icon i { font-size: 36px; }

.b2b-cert-name {
    font-size: 16px;
    font-weight: 900;
    color: #111;
    margin-bottom: 6px;
}

.b2b-cert-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    line-height: 1.5;
}

.b2b-cert-issuer {
    font-size: 11px;
    color: #C00000;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.b2b-cert-issuer i { font-size: 12px; }

/* CONTACT */
.b2b-about-contact-section { background: #fff; }

.b2b-about-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

.b2b-contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.b2b-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #fafafa;
    border-radius: 6px;
    border: 0.5px solid #f0f0f0;
}

.b2b-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #fff0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b2b-contact-icon i { font-size: 18px; color: #C00000; }

.b2b-contact-item strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.b2b-contact-item span,
.b2b-contact-item a {
    font-size: 14px;
    color: #111;
    text-decoration: none;
    line-height: 1.5;
}

.b2b-contact-item a:hover { color: #C00000; }

.b2b-about-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.b2b-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.b2b-social-link:hover { opacity: 0.85; }
.b2b-social-link i { font-size: 18px; }
.b2b-social-fb { background: #1877F2; color: #fff; }
.b2b-social-yt { background: #C00000; color: #fff; }

.b2b-map-embed {
    border-radius: 6px;
    overflow: hidden;
    border: 0.5px solid #e0e0e0;
}

/* CTA */
.b2b-about-cta {
    background: #C00000;
    border-radius: 8px;
    margin-top: 20px;
    padding: 48px 36px;
    text-align: center;
}

.b2b-about-cta > i {
    font-size: 44px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    display: block;
}

.b2b-about-cta h2 {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.b2b-about-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    line-height: 1.6;
}

.b2b-about-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.b2b-about-cta .b2b-btn-contact {
    background: #fff;
    color: #C00000;
    font-size: 16px;
}

.b2b-about-cta .b2b-btn-contact:hover { background: #f5f5f5; color: #C00000; }

.b2b-about-cta .b2b-btn-datasheet {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    font-size: 16px;
}

.b2b-about-cta .b2b-btn-datasheet:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .b2b-about-stats { grid-template-columns: repeat(2, 1fr); }
    .b2b-about-2col { grid-template-columns: 1fr; }
    .b2b-about-mission-grid { grid-template-columns: 1fr 1fr; }
    .b2b-partner-grid { grid-template-columns: repeat(3, 1fr); }
    .b2b-services-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b-about-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .b2b-about-hero { padding: 36px 0; }
    .b2b-about-hero-title { font-size: 28px; }
    .b2b-about-section { padding: 24px; }
    .b2b-about-stats { grid-template-columns: repeat(2, 1fr); }
    .b2b-about-mission-grid { grid-template-columns: 1fr; }
    .b2b-partner-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b-services-grid { grid-template-columns: 1fr; }
    .b2b-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b-about-cta { padding: 32px 20px; }
    .b2b-about-cta h2 { font-size: 22px; }
}

@media (max-width: 480px) {
    .b2b-about-stats { grid-template-columns: 1fr 1fr; }
    .b2b-partner-grid { grid-template-columns: 1fr 1fr; }
    .b2b-cert-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NEWS PAGE — ARCHIVE
   ============================================================ */

.b2b-news-wrap {
    padding: 28px 0 48px;
}

/* HEAD */
.b2b-news-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px 20px;
}

.b2b-news-h1 {
    font-size: 22px;
    font-weight: 900;
    color: #111;
    margin: 0 0 4px;
}

.b2b-news-count {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* FILTER BUTTONS */
.b2b-news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.b2b-filter-btn {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}

.b2b-filter-btn:hover {
    background: #fff0f0;
    border-color: #C00000;
    color: #C00000;
}

.b2b-filter-btn.active {
    background: #C00000;
    border-color: #C00000;
    color: #fff;
}

/* GRID 4 COLUMNS */
.b2b-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

/* NEWS CARD */
.b2b-news-card {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.b2b-news-card:hover {
    border-color: #C00000;
    transform: translateY(-3px);
}

/* CARD IMAGE */
.b2b-news-card-img-link { display: block; }

.b2b-news-card-img {
    width: 100%;
    height: 150px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.b2b-news-card:hover .b2b-news-card-img img {
    transform: scale(1.04);
}

.b2b-news-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.b2b-news-img-placeholder i {
    font-size: 42px;
    color: #ddd;
}

.b2b-news-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #C00000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background 0.2s;
    z-index: 1;
}

.b2b-news-cat-badge:hover { background: #a00000; color: #fff; }

/* CARD BODY */
.b2b-news-card-body {
    padding: 13px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.b2b-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #aaa;
    margin-bottom: 8px;
}

.b2b-news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.b2b-news-meta i { font-size: 12px; }

.b2b-news-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.45;
    margin-bottom: 8px;
    flex: 1;
}

.b2b-news-card-title a {
    color: #111;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b2b-news-card-title a:hover { color: #C00000; }

.b2b-news-card-excerpt {
    font-size: 12px;
    color: #777;
    line-height: 1.65;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CARD FOOTER */
.b2b-news-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 0.5px solid #f0f0f0;
    margin-top: auto;
}

.b2b-news-read-more {
    font-size: 12px;
    font-weight: 700;
    color: #C00000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.b2b-news-read-more:hover { gap: 8px; color: #C00000; }
.b2b-news-read-more i { font-size: 13px; }

.b2b-news-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #aaa;
}

.b2b-news-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C00000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
}

/* PAGINATION */
.b2b-news-pagination {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .b2b-news-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .b2b-news-head { flex-direction: column; }
    .b2b-news-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b-news-filters { gap: 6px; }
    .b2b-filter-btn { font-size: 12px; padding: 6px 12px; }
}

@media (max-width: 480px) {
    .b2b-news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.b2b-contact-page { padding: 28px 0 48px; }

/* HERO */
.b2b-contact-hero {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.b2b-contact-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff0f0;
    color: #C00000;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.b2b-contact-hero-tag i { font-size: 15px; }

.b2b-contact-hero-title {
    font-size: 32px;
    font-weight: 900;
    color: #111;
    margin-bottom: 10px;
}

.b2b-contact-hero-sub {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.b2b-contact-hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.b2b-contact-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    border: 0.5px solid #e8e8e8;
    border-radius: 6px;
    padding: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.b2b-contact-info-card:hover {
    border-color: #C00000;
    background: #fff8f8;
}

.b2b-cic-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b2b-cic-icon i { font-size: 20px; color: #C00000; }

.b2b-cic-body { display: flex; flex-direction: column; gap: 2px; }

.b2b-cic-label {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2b-cic-body strong {
    font-size: 13px;
    color: #111;
    font-weight: 700;
}

/* MAIN GRID */
.b2b-contact-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: start;
}

/* FORM WRAP */
.b2b-contact-form-wrap {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px;
}

.b2b-contact-form-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.b2b-contact-form-head h2 {
    font-size: 20px;
    font-weight: 900;
    color: #111;
    margin: 0;
}

/* SUCCESS / ERROR */
.b2b-contact-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.b2b-contact-success i { font-size: 26px; color: #2e7d32; flex-shrink: 0; }
.b2b-contact-success strong { display: block; color: #1b5e20; margin-bottom: 3px; }
.b2b-contact-success p { color: #2e7d32; font-size: 14px; margin: 0; }

.b2b-contact-error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #b71c1c;
    font-size: 14px;
}

.b2b-contact-error i { font-size: 20px; flex-shrink: 0; }

/* LOẠI YÊU CẦU */
.b2b-req-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

.b2b-req-type-btn {
    cursor: pointer;
}

.b2b-req-type-btn input { display: none; }

.b2b-req-type-btn span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 10px;
    background: #fafafa;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-align: center;
    transition: all 0.2s;
    line-height: 1.4;
}

.b2b-req-type-btn span i { font-size: 22px; color: #bbb; transition: color 0.2s; }

.b2b-req-type-btn:hover span {
    border-color: #C00000;
    background: #fff8f8;
    color: #C00000;
}

.b2b-req-type-btn:hover span i { color: #C00000; }

.b2b-req-type-btn span.selected {
    border-color: #C00000;
    background: #C00000;
    color: #fff;
}

.b2b-req-type-btn span.selected i { color: #fff; }

/* FORM FIELDS */
.b2b-cf-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.b2b-cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.b2b-cf-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.b2b-cf-req { color: #C00000; }

.b2b-cf-group input,
.b2b-cf-group textarea {
    border: 0.5px solid #ddd;
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    background: #fff;
    color: #111;
}

.b2b-cf-group input:focus,
.b2b-cf-group textarea:focus { border-color: #C00000; }

.b2b-cf-group textarea { min-height: 120px; resize: vertical; }

.b2b-cf-error { font-size: 12px; color: #f44336; min-height: 16px; }

/* SUBMIT */
.b2b-contact-submit {
    width: 100%;
    background: #C00000;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background 0.2s;
    margin-bottom: 12px;
}

.b2b-contact-submit:hover { background: #a00000; }
.b2b-contact-submit:disabled { background: #888; cursor: not-allowed; }
.b2b-contact-submit i { font-size: 19px; }

.b2b-cs-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.b2b-contact-note {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.b2b-contact-note i { font-size: 16px; color: #4caf50; }

/* RIGHT PANEL */
.b2b-contact-right {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px;
}

.b2b-contact-map-embed {
    border-radius: 6px;
    overflow: hidden;
    border: 0.5px solid #e0e0e0;
    margin-bottom: 20px;
}

.b2b-contact-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.b2b-cdi-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 6px;
    border: 0.5px solid #f0f0f0;
}

.b2b-cdi-item > i {
    font-size: 20px;
    color: #C00000;
    flex-shrink: 0;
    margin-top: 2px;
}

.b2b-cdi-item strong {
    display: block;
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.b2b-cdi-item span,
.b2b-cdi-item a {
    font-size: 14px;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.5;
}

.b2b-cdi-item a:hover { color: #C00000; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .b2b-contact-hero { grid-template-columns: 1fr; }
    .b2b-contact-main-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .b2b-contact-hero { padding: 20px; }
    .b2b-contact-hero-cards { grid-template-columns: 1fr; }
    .b2b-req-type-grid { grid-template-columns: repeat(2, 1fr); }
    .b2b-cf-row { grid-template-columns: 1fr; }
    .b2b-contact-hero-title { font-size: 24px; }
}

@media (max-width: 480px) {
    .b2b-req-type-grid { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
   QUOTE CART PAGE
   ============================================================ */

.b2b-qc-page { padding: 28px 0 48px; }

.b2b-qc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.b2b-qc-header h1 { font-size: 22px; font-weight: 900; color: #111; margin: 0; }
.b2b-qc-header-right { display: flex; align-items: center; gap: 14px; }

.b2b-qc-count-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.b2b-qc-count-label i { font-size: 18px; color: #C00000; }

.b2b-qc-clear-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.b2b-qc-clear-btn:hover { border-color: #C00000; color: #C00000; }

/* EMPTY */
.b2b-qc-empty {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 64px 24px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.b2b-qc-empty i { font-size: 64px; color: #ddd; }
.b2b-qc-empty h2 { font-size: 22px; font-weight: 700; color: #333; }
.b2b-qc-empty p { font-size: 15px; color: #888; }

/* LAYOUT */
.b2b-qc-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    align-items: start;
}

.b2b-qc-left { display: flex; flex-direction: column; }

/* TABLE HEADER — 6 cột: Tên SP | Code Number | Đơn giá | SL | Thành tiền | X */
.b2b-qc-list-header {
    display: grid;
    grid-template-columns: 2.5fr 140px 1fr 130px 1fr 36px;
    gap: 8px;
    padding: 10px 14px;
    background: #f5f5f5;
    border: 0.5px solid #e0e0e0;
    border-radius: 6px 6px 0 0;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ITEM ROW */
.b2b-qc-item {
    display: grid;
    grid-template-columns: 2.5fr 140px 1fr 130px 1fr 36px;
    gap: 8px;
    align-items: center;
    padding: 13px 14px;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-top: none;
    transition: background 0.2s;
}

.b2b-qc-item:last-child { border-radius: 0; }
.b2b-qc-item:hover { background: #fafafa; }

/* Tên sản phẩm */
.b2b-qc-item-name { }
.b2b-qc-item-name a {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.b2b-qc-item-name a:hover { color: #C00000; }

/* Code Number = n8n_sku */
.b2b-qc-item-code {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* Đơn giá */
.b2b-qc-item-price {
    font-size: 12px;
    color: #333;
    text-align: right;
}

/* Số lượng */
.b2b-qc-item-qty {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.b2b-qc-qty-btn {
    width: 28px;
    height: 28px;
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.2s;
    font-family: inherit;
}

.b2b-qc-qty-btn:hover { border-color: #C00000; color: #C00000; }

.b2b-qc-qty-input {
    width: 44px;
    height: 28px;
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    font-family: inherit;
}

.b2b-qc-qty-input:focus { border-color: #C00000; }

/* Thành tiền */
.b2b-qc-item-total {
    font-size: 13px;
    font-weight: 700;
    color: #C00000;
    text-align: right;
}

/* Xóa */
.b2b-qc-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    font-family: inherit;
}

.b2b-qc-remove:hover { background: #ffebee; color: #C00000; }
.b2b-qc-remove i { font-size: 16px; }

/* SUMMARY */
.b2b-qc-summary {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 16px 14px;
    margin-bottom: 16px;
}

.b2b-qc-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 0;
    color: #555;
}

.b2b-qc-summary-total {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
    padding-top: 10px;
}

.b2b-qc-summary-total strong { color: #C00000; }

.b2b-qc-summary-note {
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.b2b-qc-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    padding: 4px 0;
}

.b2b-qc-continue:hover { color: #C00000; }

/* RIGHT FORM */
.b2b-qc-right { }

.b2b-qc-form-wrap {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 80px;
}

/* ADD TO CART BUTTON TRÊN TRANG SẢN PHẨM */
.b2b-add-to-cart-wrap { margin-top: 0; }

.b2b-or-divider {
    position: relative;
    margin: 20px 0 16px;
    text-align: center;
}

.b2b-or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C00000 30%, #C00000 70%, transparent);
}

.b2b-or-divider-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    position: relative;
    padding: 0 14px;
}

.b2b-or-divider-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff0f0;
    border: 1.5px solid #C00000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b2b-or-divider-icon i { font-size: 16px; color: #C00000; }

.b2b-or-divider-text {
    font-size: 13px;
    font-weight: 700;
    color: #C00000;
    text-align: left;
    line-height: 1.4;
}

.b2b-or-divider-text small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #888;
    margin-top: 1px;
}

.b2b-add-to-qc-btn {
    width: 100%;
    border: 2px solid #C00000;
    background: #fff;
    color: #C00000;
    border-radius: 4px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.2s;
    font-family: inherit;
}

.b2b-add-to-qc-btn:hover,
.b2b-add-to-qc-btn.b2b-in-cart { background: #C00000; color: #fff; }

.b2b-add-to-qc-btn i { font-size: 18px; }

.b2b-view-qc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #f5f5f5;
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.b2b-view-qc-btn:hover { background: #fff0f0; border-color: #C00000; color: #C00000; }

.b2b-qc-badge-inline {
    background: #C00000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* BADGE HEADER */
.b2b-quote-badge {
    background: #fff;
    color: #C00000;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    flex-shrink: 0;
    padding: 0 3px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .b2b-qc-layout { grid-template-columns: 1fr; }
    .b2b-qc-form-wrap { position: static; }
}

@media (max-width: 768px) {
    .b2b-qc-list-header { display: none; }
    .b2b-qc-item {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "name  remove"
            "code  code"
            "price price"
            "qty   total";
        gap: 8px;
        padding: 14px;
    }
    .b2b-qc-item-name  { grid-area: name; }
    .b2b-qc-item-code  { grid-area: code; font-size:12px; color:#888; }
    .b2b-qc-item-price { grid-area: price; text-align:left; font-size:13px; }
    .b2b-qc-item-qty   { grid-area: qty; justify-content:flex-start; }
    .b2b-qc-item-total { grid-area: total; }
    .b2b-qc-remove     { grid-area: remove; }
}

