@charset "UTF-8";
/**
 * _base.scss
 * 
 * 1/ biến màu săc
 * 2/ biến kích thước font chữ
 * 3/ Cấu hình border
 * 4/ Mixin
 * 5/ Responsive
*/
:root {
  --heading-font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  --text-font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  --nav-font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  --alt-font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading-font,
.alt-font,
.nav > li > a,
.header-nav > li > a,
.button,
button,
input,
select,
textarea,
.woocommerce-loop-product__title,
.product-title,
.post-title,
.section-title-main {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-size: 15.5px;
  line-height: 1.6;
  color: #1e293b;
}

.section-title-container .section-title .section-title-main {
  text-transform: none;
  border-bottom: 2px solid var(--fs-color-primary);
}

.mbws_icon-hover .icon-box-img .icon .icon-inner svg {
  border-radius: 50%;
  background-color: #F5F2F2;
  padding: 15px;
}
.mbws_icon-hover .icon-box-img .icon:hover .icon-inner svg {
  background-color: var(--fs-color-primary);
}

.product.product-small {
  border: none !important;
  padding: 0 8px 16px 8px !important;
}
.product.product-small > .col-inner {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  height: 100%;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.product.product-small > .col-inner:hover {
  border-color: var(--fs-color-primary);
  box-shadow: 0 6px 18px rgba(0, 82, 162, 0.1);
  transform: translateY(-2px);
}
.product-category.col > .col-inner {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.product-category.col .box-image {
  background-color: #f3f3f3;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-category.col .box-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease;
}
.product-category.col:hover .box-image img {
  transform: scale(1.04);
}
.product-category.col .box-text {
  padding-top: 12px !important;
  padding-bottom: 6px !important;
  background: transparent !important;
}
.product-category.col .box-text .header-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.product-category.col:hover .box-text .header-title {
  color: var(--fs-color-primary);
}
.product-category.col .box-text .count {
  font-size: 0.75rem;
  color: #666666;
  text-transform: uppercase;
}
.product:hover .box .box-image .image-tools {
  top: 50%;
  position: absolute;
}
.product .box .box-image .image-tools {
  justify-content: flex-end;
}
.product .box .box-image .image-tools .quick-cta {
  margin: 0;
}
.product .box .box-image .image-tools .quick-cta a {
  color: #000;
  background-color: #EDEDED;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  line-height: unset;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product .box .box-image .image-tools .quick-cta a i {
  margin: 0;
}
.product .box .box-image .image-tools .quick-cta a:hover {
  color: #fff;
  background-color: var(--fs-color-primary);
}
.product .box .box-text .product-title {
  padding: 10px 0;
  font-size: 1.2em;
}

.mbws_mb-0 * {
  margin-bottom: 0;
}

.mbws_br-5 {
  overflow: hidden;
  border-radius: 5px;
}

.price {
  font-size: 1.2em;
}
.price span bdi {
  color: var(--fs-color-primary);
}

.mbws_z-0 {
  z-index: 0;
}

.wpcf7-form .wpcf7-form-control-wrap input,
.wpcf7-form .wpcf7-form-control-wrap textarea {
  border-radius: 4px;
  box-shadow: unset;
  padding: 20px 10px;
  margin-bottom: 20px;
  background-color: #F3F3F3;
}
.wpcf7-form .wpcf7-form-control-wrap input:focus,
.wpcf7-form .wpcf7-form-control-wrap textarea:focus {
  border-color: var(--fs-color-primary);
  box-shadow: unset;
}
.wpcf7-form .wpcf7-form-control-wrap input::placeholder,
.wpcf7-form .wpcf7-form-control-wrap textarea::placeholder {
  color: #acabab;
}
.wpcf7-form .wpcf7-form-control-wrap textarea {
  background-color: #F3F3F3;
  height: 164px;
}
.wpcf7-form .wpcf7-form-control-wrap textarea:focus {
  border-color: var(--fs-color-primary);
  box-shadow: unset;
}
.wpcf7-form .wpcf7-form-control-wrap textarea::placeholder {
  color: #acabab;
}
.wpcf7-form .wpcf7-submit {
  width: 100%;
  font-weight: 500;
  background: var(--fs-color-primary);
  border-radius: 4px;
}
.wpcf7-form .wpcf7-submit:hover {
  background: var(--fs-color-primary);
}

.ux-menu .ux-menu-link:hover a {
  color: var(--fs-color-primary) !important;
}

#header .header-bottom {
  border-top: solid 1px;
}
#header .header-nav .header-search-form .searchform-wrapper .searchform .search-field {
  border-radius: 5px;
  height: 3em;
}
#header .header-nav .header-search-form .searchform-wrapper .searchform .ux-search-submit {
  margin-left: 10px;
  border-radius: 5px !important;
  width: 3em;
  height: 3em;
}

body.home .mbws_header-before {
  display: none;
}

.nav .menu-item .sub-menu {
  padding: 0 !important;
}
.nav .menu-item .sub-menu li {
  position: relative;
  display: inline-block !important;
  width: 100%;
  border-right: 0;
}
.nav .menu-item .sub-menu li a {
  color: var(--text-color);
  font-weight: 500;
  text-transform: none;
  font-size: 1em;
  padding: 10px 5px;
}
.nav .menu-item .sub-menu li .sub-menu {
  top: 0;
  box-shadow: 2px 2px 5px #828282;
  display: none !important;
  position: absolute;
  left: 100%;
  z-index: 9;
  background: white;
  min-width: 240px;
}
.nav .menu-item .sub-menu li:hover > a {
  color: var(--fs-color-primary);
}
.nav .menu-item .sub-menu li:hover > .sub-menu {
  display: grid !important;
}

.single-product .product-main .product-info .woocommerce-breadcrumb {
  display: none;
}
.single-product .product-main .product-info .cart .ux-quantity input {
  box-shadow: unset;
}
.single-product .product-footer .woocommerce-tabs .tabs .description_tab a {
  border-radius: 0px;
}
.single-product .product-footer .related {
  margin-bottom: 60px;
}
.single-product .product-footer .related .product {
  border-width: 1px 1px 1px 1px;
}

#footer .absolute-footer {
  display: none;
}

/* === TRANG DANH SÁCH SẢN PHẨM: UI/UX CHUẨN - BỘ LỌC BÊN TRÁI & DANH SÁCH BÊN PHẢI === */

/* 1. Thanh tiêu đề trên: Căn thẳng hàng Breadcrumb - Số kết quả - Nút Lưới/Danh sách - Sắp xếp */
.category-page-title .page-title-inner {
  align-items: center;
}
.category-page-title .flex-col:last-child {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.category-page-title .woocommerce-result-count {
  margin: 0 !important;
  line-height: 36px;
}
.category-page-title .woocommerce-ordering {
  margin: 0 !important;
}
.category-page-title .woocommerce-ordering select {
  margin: 0 !important;
  height: 36px !important;
  line-height: 34px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 4px;
  border: 1px solid #d4d9e2;
  font-size: 0.9em;
}

/* Nút chuyển đổi Lưới / Danh sách */
.mbws-view-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4d9e2;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.mbws-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  background: #fff;
  color: #444;
  font-size: 0.86em;
  font-weight: 600;
  text-decoration: none !important;
  border-right: 1px solid #e5e7eb;
  transition: all 0.18s ease;
}
.mbws-view-btn:last-child {
  border-right: none;
}
.mbws-view-btn:hover {
  color: var(--fs-color-primary);
  background: #f4f8fc;
}
.mbws-view-btn.active {
  background: var(--fs-color-primary);
  color: #fff;
}

/* 2. Cột Sidebar bên trái (#shop-sidebar): Tìm kiếm - Danh mục - Bộ lọc kỹ thuật */
#shop-sidebar .widget {
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid #eaeef4;
  border-radius: 6px;
  padding: 16px;
}
#shop-sidebar .widget-title.shop-sidebar {
  display: block;
  font-size: 0.95em;
  font-weight: 700;
  text-transform: uppercase;
  color: #1e293b;
  letter-spacing: 0.3px;
}
#shop-sidebar .is-divider.small {
  margin: 8px 0 14px 0;
  height: 2px;
  width: 36px;
  background-color: var(--fs-color-secondary);
}

/* Ô tìm kiếm sản phẩm cột trái */
.mbws-sidebar-search-form {
  margin-bottom: 0;
}
.mbws-search-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.mbws-search-input-wrap:focus-within {
  border-color: var(--fs-color-primary);
}
.mbws-search-input-wrap input[type="text"] {
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  height: 36px !important;
  padding: 0 10px !important;
  font-size: 0.9em;
  flex: 1;
}
.mbws-search-btn {
  margin: 0 !important;
  padding: 0 12px !important;
  min-height: 36px !important;
  line-height: 36px !important;
  background: var(--fs-color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
}
.mbws-search-btn:hover {
  background: var(--fs-color-secondary) !important;
}

/* Form Bộ lọc sản phẩm cột trái */
.mbws-sidebar-filter-form {
  margin-bottom: 0;
}
.mbws-sf-group {
  margin-bottom: 12px;
}
.mbws-sf-group label {
  display: block;
  font-size: 0.84em;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}
.mbws-sf-group select {
  margin-bottom: 0 !important;
  height: 36px !important;
  padding: 0 28px 0 10px !important;
  font-size: 0.88em;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background-color: #f8fafc;
  color: #1e293b;
}
.mbws-sf-group select:focus {
  border-color: var(--fs-color-primary);
  background-color: #fff;
}
.mbws-sf-buttons {
  margin-top: 14px;
}
.mbws-sf-submit {
  margin-bottom: 0 !important;
  border-radius: 4px !important;
  min-height: 36px !important;
  line-height: 34px !important;
  font-size: 0.9em !important;
}
.mbws-sf-reset {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.84em;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none !important;
}
.mbws-sf-reset:hover {
  text-decoration: underline !important;
}

/* 3. Thanh hiển thị tiêu chí đang lọc (chỉ hiện khi có chọn lọc) */
.mbws-active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: #f4f8fd;
  border: 1px solid #dbe7f5;
  border-radius: 5px;
  padding: 8px 14px;
  margin-bottom: 16px;
  font-size: 0.88em;
}
.mbws-af-label {
  font-weight: 700;
  color: #1e293b;
}
.mbws-af-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--fs-color-primary);
  color: var(--fs-color-primary);
  padding: 2px 10px;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none !important;
}
.mbws-af-chip:hover {
  background: var(--fs-color-primary);
  color: #fff;
}
.mbws-af-clear-all {
  margin-left: auto;
  color: #dc2626;
  font-weight: 600;
  text-decoration: none !important;
}

/* 4. Lưới sản phẩm bên phải: Căn đều khung viền 4 cạnh & đồng bộ chiều cao */
.category-page-row .products .product {
  border: none !important;
  padding: 0 8px 16px 8px !important;
}
.category-page-row .products .product .col-inner {
  border: 1px solid #eaeef4;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.category-page-row .products .product .col-inner:hover {
  border-color: var(--fs-color-primary);
  box-shadow: 0 4px 14px rgba(0, 82, 162, 0.1);
}

/* Thông số kỹ thuật trên thẻ sản phẩm */
.mbws-product-specs {
  margin: 4px 0 6px 0;
}
.mbws-specs-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.spec-badge {
  display: inline-block;
  font-size: 0.75em;
  padding: 1px 7px;
  border-radius: 3px;
  line-height: 1.45;
}
.spec-brand {
  background: #eaf2fb;
  color: var(--fs-color-primary);
  font-weight: 700;
}
.spec-code {
  background: #fff4e6;
  color: #c25e00;
  font-weight: 600;
}
.mbws-specs-list-detail {
  display: none;
}

/* 5. Chế độ hiển thị Danh sách (List View) */
.products.mbws-list-view .product,
.products.has-box-vertical .product {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  padding: 0 8px 12px 8px !important;
}
.products.mbws-list-view .product-small.box.box-vertical {
  display: flex;
  align-items: center;
  gap: 20px;
}
.products.mbws-list-view .product-small.box.box-vertical .box-image {
  width: 200px !important;
  min-width: 180px;
  max-width: 200px;
}
.products.mbws-list-view .product-small.box.box-vertical .box-text {
  padding: 4px 10px;
  text-align: left;
}
.products.mbws-list-view .mbws-specs-compact {
  display: none;
}
.products.mbws-list-view .mbws-specs-list-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 4px 16px;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 3px solid var(--fs-color-secondary);
  margin: 8px 0;
  font-size: 0.88em;
  color: #334155;
}
@media (max-width: 549px) {
  .products.mbws-list-view .product-small.box.box-vertical {
    flex-direction: column;
  }
  .products.mbws-list-view .product-small.box.box-vertical .box-image {
    width: 100% !important;
    max-width: 100%;
  }
  .products.mbws-list-view .mbws-specs-list-detail {
    grid-template-columns: 1fr;
  }
}

/* === 6. TRANG CHI TIẾT SẢN PHẨM (SINGLE PRODUCT DETAIL) === */
.mbws-single-meta-box {
  background: #f8fafd;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--fs-color-primary);
  border-radius: 6px;
  padding: 12px 16px;
  margin: 12px 0 16px 0;
  font-size: 0.92em;
}
.mbws-single-meta-row {
  display: flex;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.mbws-single-meta-row:last-child {
  border-bottom: none;
}
.mbws-single-meta-row .meta-label {
  width: 175px;
  min-width: 155px;
  font-weight: 700;
  color: #334155;
}
.mbws-single-meta-row .meta-value {
  color: #1e293b;
  flex: 1;
}
.mbws-single-meta-row .meta-sku {
  font-weight: 700;
  color: var(--fs-color-primary);
  background: #eaf2fb;
  padding: 2px 8px;
  border-radius: 4px;
}
.mbws-single-meta-row .meta-brand-link {
  font-weight: 700;
  color: var(--fs-color-primary);
}
.mbws-stock-badge {
  display: inline-block;
  font-size: 0.86em;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
}
.mbws-stock-badge.in-stock {
  background: #dcfce7;
  color: #15803d;
}
.mbws-stock-badge.out-stock {
  background: #fef3c7;
  color: #b45309;
}

/* Cụm nút Yêu cầu báo giá */
.mbws-quote-action-box {
  margin: 14px 0 18px 0;
  padding-top: 12px;
  border-top: 1px solid #eaeef4;
}
.mbws-btn-request-quote {
  margin-bottom: 10px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
}
.mbws-quote-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mbws-quote-sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border-radius: 5px;
  font-size: 0.88em;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}
.mbws-quote-sub-btn .mbws-btn-svg-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0 !important;
}
.mbws-quote-sub-btn .mbws-btn-zalo-img {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
  margin: 0 !important;
  border-radius: 5px;
  background: #fff;
  padding: 1px;
}
.mbws-quote-sub-btn:hover {
  opacity: 0.9;
}
.mbws-quote-sub-btn.zalo-btn {
  background: #0068ff;
  color: #fff !important;
}
.mbws-quote-sub-btn.call-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a !important;
}

/* Popup Modal Yêu cầu báo giá (#mbws-quote-modal) */
#mbws-quote-modal {
  border-radius: 10px;
  overflow: hidden;
  padding: 0 !important;
}
.mbws-quote-modal-card {
  background: #ffffff;
}
.mbws-qm-header {
  background: linear-gradient(135deg, #0052A2 0%, #093d6e 100%);
  border-bottom: 3px solid var(--fs-color-secondary);
  padding: 18px 22px 14px 22px;
  color: #ffffff;
}
.mbws-qm-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
}
.mbws-qm-header-sub {
  margin: 4px 0 0 0 !important;
  font-size: 0.85em;
  color: #dcebff;
}
.mbws-qm-body {
  padding: 18px 22px 20px 22px;
}
.mbws-qm-product-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f8fd;
  border: 1px solid #d8e5f5;
  border-left: 4px solid var(--fs-color-secondary);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.mbws-qm-prod-img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 2px;
  flex-shrink: 0;
}
.mbws-qm-prod-info {
  flex: 1;
  min-width: 0;
}
.mbws-qm-prod-name {
  font-size: 0.94em;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 5px;
}
.mbws-qm-prod-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.mbws-qf-hidden {
  display: none !important;
}
.mbws-qm-form-wrap .wpcf7,
.mbws-qm-form-wrap .wpcf7-form {
  margin: 0 !important;
  padding: 0 !important;
}
.mbws-qm-form-wrap .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}
#mbws-quote-modal .mbws-qf-row br {
  display: none !important;
}
.mbws-qf-row {
  margin-bottom: 12px;
}
.mbws-qf-label {
  display: block;
  font-size: 0.86em;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}
.mbws-qf-label .req {
  color: #dc2626;
}
#mbws-quote-modal .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0 !important;
}
#mbws-quote-modal .wpcf7-form .wpcf7-form-control-wrap input.mbws-qf-input {
  height: 40px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
  color: #0f172a !important;
}
#mbws-quote-modal .wpcf7-form .wpcf7-form-control-wrap textarea.mbws-qf-textarea {
  height: 82px !important;
  min-height: 82px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
  color: #0f172a !important;
}
#mbws-quote-modal .wpcf7-form .wpcf7-form-control-wrap input.mbws-qf-input:focus,
#mbws-quote-modal .wpcf7-form .wpcf7-form-control-wrap textarea.mbws-qf-textarea:focus {
  background-color: #ffffff !important;
  border-color: var(--fs-color-primary) !important;
  box-shadow: 0 0 0 2px rgba(0, 82, 162, 0.12) !important;
}
.mbws-qf-submit-wrap {
  margin-top: 14px;
  position: relative;
}
.mbws-qf-submit-wrap p {
  position: relative;
  margin: 0 !important;
}
#mbws-quote-modal .wpcf7-spinner {
  position: absolute !important;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
}
#mbws-quote-modal .wpcf7-form .wpcf7-submit.mbws-qf-submit {
  width: 100% !important;
  height: 42px !important;
  line-height: 40px !important;
  margin: 0 !important;
  border-radius: 5px !important;
  background: var(--fs-color-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95em !important;
  letter-spacing: 0.4px;
  transition: background 0.2s ease !important;
}
#mbws-quote-modal .wpcf7-form .wpcf7-submit.mbws-qf-submit:hover {
  background: var(--fs-color-secondary) !important;
}
#mbws-quote-modal .wpcf7-form.init .wpcf7-response-output,
#mbws-quote-modal .wpcf7-form.resetting .wpcf7-response-output,
#mbws-quote-modal .wpcf7-form.submitting .wpcf7-response-output,
#mbws-quote-modal .wpcf7-response-output:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#mbws-quote-modal .wpcf7-response-output {
  margin: 10px 0 0 0 !important;
  padding: 8px 12px !important;
  border-radius: 5px;
  font-size: 0.88em;
}
.mbws-qm-footer-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
  font-size: 0.85em;
  color: #475569;
}
.mbws-qm-footer-note a {
  color: var(--fs-color-primary);
  text-decoration: none;
}

/* Khung thông số kỹ thuật hiển thị bên cột phải (Card chuẩn 4 viền khép kín) */
.mbws-spec-card {
  margin: 14px 0 18px 0;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.mbws-spec-card-header {
  background: #f1f6fc;
  border-bottom: 1px solid #dce4ef;
  padding: 9px 14px;
  font-size: 0.86em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--fs-color-primary);
}
.mbws-spec-card-body {
  display: flex;
  flex-direction: column;
}
.mbws-spec-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.9em;
  line-height: 1.45;
}
.mbws-spec-row:last-child {
  border-bottom: none;
}
.mbws-spec-row:nth-child(even) {
  background-color: #fafcfe;
}
.mbws-spec-label {
  width: 38%;
  min-width: 155px;
  padding: 9px 14px;
  font-weight: 600;
  color: #475569;
  border-right: 1px solid #eef2f7;
  flex-shrink: 0;
}
.mbws-spec-val {
  flex: 1;
  padding: 9px 14px;
  color: #0f172a;
  font-weight: 500;
}
.mbws-sku-pill {
  display: inline-block;
  background: #fff4e6;
  border: 1px solid #fed7aa;
  color: #c25e00;
  font-weight: 700;
  font-size: 0.92em;
  padding: 1px 9px;
  border-radius: 4px;
}
.mbws-spec-val .meta-brand-link {
  font-weight: 700;
  color: var(--fs-color-primary);
  text-decoration: none;
}
.mbws-spec-val .meta-brand-link:hover {
  text-decoration: underline;
}
.mbws-spec-val .meta-sep {
  margin: 0 5px;
  color: #94a3b8;
}

/* === 7. TRANG GIỚI THIỆU DOANH NGHIỆP (/gioi-thieu) - BỐ CỤC CHUẨN CORPORATE SẠCH & CÂN ĐỐI === */
body.page-id-140 .mbws_header-before {
  display: none !important;
}
.vp-about-page-wrap {
  background: #ffffff;
  color: #1e293b;
}
.vp-about-page-wrap p:empty {
  display: none !important;
}
.vp-col-clean {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.vp-about-sec {
  padding: 46px 0;
}
.vp-sec-history {
  background: #ffffff;
}
.vp-sec-vmv {
  background: #ffffff;
  padding-top: 10px;
}
.vp-sec-capacity {
  background: #ffffff;
  padding-top: 16px;
}
.vp-sec-warehouse {
  background: #ffffff;
  padding-top: 16px;
}
.vp-sec-partners {
  background: #ffffff;
  padding: 20px 0 56px 0;
}

/* Tiêu đề từng Section có thanh dọc màu Cam bên trái */
.vp-sec-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.62rem;
  font-weight: 800;
  color: #06305F;
  margin: 0 0 22px 0 !important;
  line-height: 1.3;
}
.vp-sec-heading::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 26px;
  background: #F7962E;
  border-radius: 2px;
  flex-shrink: 0;
}

/* 7.1 Hero Banner Giới thiệu */
.vp-about-hero-section {
  position: relative;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 52px 0;
  border-bottom: 1px solid #dbe7f5;
}
.vp-ab-hero-sub {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0b3d78;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.vp-ab-hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  color: #0052A2;
  letter-spacing: 1.5px;
  line-height: 1.04;
  margin: 0 0 10px 0 !important;
}
.vp-ab-hero-tagline {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 26px;
}
.vp-ab-hero-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 465px;
  padding: 4px 0;
}
.vp-ab-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 2px 10px;
  border-right: 1px solid #cbd5e1;
  text-decoration: none !important;
  color: #0f172a !important;
  transition: transform 0.2s ease, color 0.2s ease;
}
.vp-ab-cat-item:first-child {
  padding-left: 0;
}
.vp-ab-cat-item:last-child {
  border-right: none;
  padding-right: 0;
}
.vp-ab-cat-item:hover {
  transform: translateY(-3px);
  color: #0052A2 !important;
}
.vp-ab-cat-icon {
  color: #0052A2;
  margin-bottom: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.vp-ab-cat-item:hover .vp-ab-cat-icon {
  color: #F7962E;
}
.vp-ab-cat-name {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.32;
  color: #1e293b;
}

/* 7.2 Thanh Thông tin liên hệ nhanh 4 cột dưới Hero */
.vp-contact-strip {
  background: #eff5fc;
  border-bottom: 1px solid #dce8f6;
  padding: 16px 0;
}
.vp-cs-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.vp-cs-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: #0f172a !important;
  transition: opacity 0.2s ease;
}
.vp-cs-item:hover {
  opacity: 0.85;
}
.vp-cs-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0052A2;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vp-cs-icon-zalo,
.vp-cs-icon-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vp-cs-icon-outline {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #0052A2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vp-cs-text-box {
  display: flex;
  flex-direction: column;
}
.vp-cs-text-meta {
  display: block;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.25;
}
.vp-cs-text-main {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #06305F;
  line-height: 1.3;
}
.vp-cs-text-addr {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #06305F;
  line-height: 1.3;
}

/* 7.3 Lịch sử hình thành & Sơ đồ Timeline 3 mốc */
.vp-history-lead {
  font-size: 0.95rem;
  line-height: 1.66;
  color: #1e293b;
  margin-bottom: 14px !important;
  text-align: justify;
}
.vp-timeline-wrap {
  position: relative;
  margin-top: 26px;
}
.vp-timeline-track {
  position: relative;
  height: 2px;
  background: #cbd5e1;
  margin: 0 2% 18px 14%;
}
.vp-timeline-track::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -5px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #F7962E;
}
.vp-timeline-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  align-items: stretch;
  text-align: center;
}
.vp-tl-step {
  position: relative;
  display: flex;
  flex-direction: column;
}
.vp-tl-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #F7962E;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #F7962E;
  margin: -25px auto 14px auto;
  position: relative;
  z-index: 2;
}
.vp-tl-box {
  background: #f6faff;
  border: 1px solid #d8e6f6;
  border-radius: 10px;
  padding: 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.vp-tl-box:hover {
  transform: translateY(-2px);
  border-color: #0052A2;
  box-shadow: 0 4px 12px rgba(0, 82, 162, 0.08);
}
.vp-tl-pill {
  display: inline-block;
  background: #0052A2;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.vp-tl-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #06305F;
  margin-bottom: 6px;
}
.vp-tl-desc {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.48;
  margin: 0 !important;
}
.vp-showroom-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 46, 89, 0.09);
  border: 1px solid #dce8f6;
}
.vp-showroom-frame .img {
  margin-bottom: 0 !important;
}

/* 7.4 Tầm nhìn – Sứ mệnh – Giá trị cốt lõi (3 Card ngang icon trái chuẩn Design) */
.vp-vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.vp-vmv-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(180deg, #f3f8fe 0%, #ebf3fc 100%);
  border: 1px solid #d5e4f5;
  border-radius: 12px;
  padding: 24px 22px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.vp-vmv-card:hover {
  transform: translateY(-3px);
  border-color: #0052A2;
  box-shadow: 0 6px 18px rgba(0, 82, 162, 0.08);
}
.vp-vmv-icon {
  color: #0052A2;
  flex-shrink: 0;
  margin-top: 2px;
}
.vp-vmv-content h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #06305F;
  margin: 0 0 8px 0 !important;
}
.vp-vmv-content p {
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.58;
  margin: 0 !important;
}
.vp-vmv-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.vp-vmv-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 7px !important;
}
.vp-vmv-list li:last-child {
  margin-bottom: 0 !important;
}
.vp-vmv-check {
  color: #F7962E;
  font-weight: 900;
  font-size: 1.05rem;
}

/* 7.5 Năng lực cung ứng (4 Card độc lập cân đối, sạch sẽ, hiện đại) */
.vp-cap-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.vp-cap-card {
  background: #ffffff;
  border: 1px solid #d5e4f5;
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 18px rgba(11, 46, 89, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.vp-cap-card:hover {
  transform: translateY(-4px);
  border-color: #0052A2;
  box-shadow: 0 10px 24px rgba(0, 82, 162, 0.1);
}
.vp-cap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef4fb;
}
.vp-cap-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eef5fc;
  color: #0052A2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s ease, color 0.22s ease;
}
.vp-cap-card:hover .vp-cap-icon-box {
  background: #0052A2;
  color: #ffffff;
}
.vp-cap-card-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0052A2;
  line-height: 1;
  letter-spacing: -0.5px;
}
.vp-cap-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #06305F;
  margin: 0 0 8px 0 !important;
  line-height: 1.35;
  white-space: nowrap;
}
.vp-cap-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.56;
  margin: 0 !important;
}

/* 7.6 Hình ảnh kho hàng thực tế (3 Card bo góc có thanh tiêu đề đè dưới đáy ảnh) */
.vp-wh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.vp-wh-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dce8f6;
  box-shadow: 0 5px 16px rgba(11, 46, 89, 0.08);
}
.vp-wh-card .img {
  margin-bottom: 0 !important;
}
.vp-wh-card .box-image,
.vp-wh-card img {
  display: block;
  width: 100%;
  transition: transform 0.35s ease;
}
.vp-wh-card:hover img {
  transform: scale(1.04);
}
.vp-wh-overlay-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(11, 46, 89, 0.92) 0%, rgba(0, 82, 162, 0.88) 100%);
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  z-index: 3;
  pointer-events: none;
}

/* 7.7 Section riêng: Đối tác & thương hiệu (Infinite Marquee chạy liên tục) */
.vp-sec-partners {
  background: #ffffff;
  padding: 24px 0 36px 0;
}
.vp-partner-lead {
  font-size: 0.94rem;
  color: #475569;
  margin: -10px 0 22px 0 !important;
}
.vp-brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 6%, #000000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000000 6%, #000000 94%, transparent 100%);
}
.vp-brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: vpMarqueeScroll 26s linear infinite;
}
.vp-brand-marquee:hover .vp-brand-marquee-track {
  animation-play-state: paused;
}
@keyframes vpMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.vp-brand-logo-card {
  width: 192px;
  height: 82px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d8e6f6;
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(11, 46, 89, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.vp-brand-logo-card:hover {
  transform: translateY(-3px);
  border-color: #0052A2;
  box-shadow: 0 8px 20px rgba(0, 82, 162, 0.12);
}
.vp-blc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 7.8 Section riêng: Liên hệ nhận báo giá sỉ & Hợp tác đại lý (Tối giản, sạch đẹp, dễ nhìn) */
.vp-sec-wholesale-cta {
  background: #ffffff;
  padding: 12px 0 64px 0;
}
.vp-wholesale-banner-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  background-size: auto 108%;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 36px 42px;
  box-shadow: 0 8px 26px rgba(11, 46, 89, 0.06);
  border: 1px solid #dce8f6;
}
.vp-wbc-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

/* Dòng thương hiệu VINPART | Dành cho đại lý & nhà máy sản xuất */
.vp-cta-top-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.vp-cta-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: #0052A2;
  letter-spacing: 0.8px;
}
.vp-cta-brand-sep {
  color: #cbd5e1;
  font-size: 0.95rem;
}
.vp-cta-brand-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

/* Tiêu đề chính (nằm gọn trên 1 dòng, không rớt chữ lẻ) */
.vp-cta-main-heading {
  font-size: 1.72rem;
  font-weight: 800;
  color: #06305F !important;
  line-height: 1.25;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.vp-cta-main-heading .hl {
  color: #0052A2;
}

/* Đoạn mô tả */
.vp-cta-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.58;
  margin: 0 0 20px 0 !important;
  max-width: 520px;
}

/* Lưới thông tin liên hệ 2x2 đồng nhất, sạch sẽ, dễ đọc */
.vp-cta-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  padding: 16px 0;
  border-top: 1px solid #e2ecf7;
  border-bottom: 1px solid #e2ecf7;
  margin-bottom: 20px;
  max-width: 545px;
}
.vp-cta-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: #1e293b !important;
  transition: transform 0.2s ease;
}
.vp-cta-info-item:hover {
  transform: translateX(2px);
}
.vp-cii-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: #0052A2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vp-cii-text {
  display: flex;
  flex-direction: column;
}
.vp-cii-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
.vp-cii-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #06305F;
  line-height: 1.35;
}

/* 1 Nút CTA chính duy nhất sạch gọn */
.vp-cta-actions-row {
  display: flex;
  align-items: center;
}
.vp-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0052A2;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 82, 162, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.vp-cta-btn-primary:hover {
  background: #0b4a80;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 82, 162, 0.28);
}
.vp-cta-btn-primary .vp-cta-arrow {
  transition: transform 0.2s ease;
}
.vp-cta-btn-primary:hover .vp-cta-arrow {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .vp-wholesale-banner-card {
    background-image: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 65%, rgba(255,255,255,0.75) 100%) !important;
    padding: 28px 24px;
  }
  .vp-cs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
  }
}

/* ==========================================================================
   8. HỆ THỐNG RESPONSIVE TOÀN TRANG (TABLET, MOBILE & SMALL MOBILE)
   Đảm bảo hiển thị chuẩn tỷ lệ trên mọi thiết bị: PC, Laptop, iPad, Điện thoại
   ========================================================================== */

/* Đồng bộ giao diện Form Báo giá cho cả Modal Chi tiết SP (#mbws-quote-modal) & Modal Giới thiệu (#vp-about-quote-modal) */
#vp-about-quote-modal {
  border-radius: 10px;
  overflow: hidden;
  padding: 0 !important;
}
#vp-about-quote-modal .mbws-qf-row br {
  display: none !important;
}
#vp-about-quote-modal .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0 !important;
}
#vp-about-quote-modal .wpcf7-form .wpcf7-form-control-wrap input.mbws-qf-input {
  height: 40px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
  color: #0f172a !important;
}
#vp-about-quote-modal .wpcf7-form .wpcf7-form-control-wrap textarea.mbws-qf-textarea {
  height: 82px !important;
  min-height: 82px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
  color: #0f172a !important;
}
#vp-about-quote-modal .wpcf7-spinner {
  position: absolute !important;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
}
#vp-about-quote-modal .wpcf7-form .wpcf7-submit.mbws-qf-submit {
  width: 100% !important;
  height: 42px !important;
  line-height: 40px !important;
  margin: 0 !important;
  border-radius: 5px !important;
  background: var(--fs-color-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95em !important;
}
#vp-about-quote-modal .wpcf7-form.init .wpcf7-response-output,
#vp-about-quote-modal .wpcf7-form.resetting .wpcf7-response-output,
#vp-about-quote-modal .wpcf7-form.submitting .wpcf7-response-output,
#vp-about-quote-modal .wpcf7-response-output:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* --- 8.1 TABLET & IPAD & MOBILE (<= 849px) --- */
@media (max-width: 849px) {
  /* Đảm bảo trên Mobile (< 600px) khi cuộn xuống không bị hở khoảng trắng 46px của Admin Bar */
  @media (max-width: 600px) {
    body.admin-bar .header-wrapper.stuck {
      top: 0 !important;
    }
  }

  /* Trang chủ & Tiêu đề Section */
  .section-title-container .section-title {
    flex-wrap: wrap;
    gap: 6px;
  }
  .section-title-container .section-title .section-title-main {
    font-size: 1.15rem;
  }

  /* Trang Danh sách sản phẩm (/san-pham): Nút Lọc nổi bật & Thanh công cụ gọn gàng */
  .category-page-title .page-title-inner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .category-page-title .flex-col:last-child {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .category-page-title .filter-button {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: var(--fs-color-primary);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.86rem;
    font-weight: 700;
    margin: 0 !important;
  }
  /* Off-canvas Sidebar Lọc sản phẩm trên Mobile/Tablet */
  #shop-sidebar.mfp-content,
  .off-canvas .sidebar-inner {
    padding: 16px 14px !important;
  }

  /* Trang Giới thiệu (/gioi-thieu) */
  .vp-about-hero-section {
    background-position: left center;
    padding: 36px 0;
  }
  .vp-vmv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vp-cap-cards-grid,
  .vp-wh-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .vp-cta-main-heading {
    font-size: 1.55rem;
    white-space: normal;
  }
  .vp-brand-logo-card {
    width: 160px;
    height: 72px;
  }
}

/* --- 8.2 ĐIỆN THOẠI DI ĐỘNG (<= 549px) --- */
@media (max-width: 549px) {
  body {
    font-size: 14.5px;
  }

  /* Banner Slider Trang chủ */
  .ux-slider .banner h2 {
    font-size: 1.28rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  .ux-slider .banner p {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
  }
  .ux-slider .banner .button {
    font-size: 0.78rem !important;
    padding: 2px 12px !important;
    margin-bottom: 6px !important;
  }

  /* Lưới Thẻ Sản phẩm 2 cột trên Điện thoại: Cân đối chiều cao & không tràn chữ */
  .products .product-small.col {
    padding: 0 5px 10px 5px !important;
  }
  .product.product-small > .col-inner,
  .category-page-row .products .product .col-inner {
    padding: 8px !important;
  }
  .product .box .box-text {
    padding: 8px 2px 4px 2px !important;
  }
  .product .box .box-text .product-title,
  .woocommerce-loop-product__title {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    padding: 4px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
  }
  .price {
    font-size: 0.98rem !important;
  }
  .spec-badge {
    font-size: 0.68rem;
    padding: 1px 5px;
  }

  /* Thanh công cụ Trang Sản phẩm (/san-pham) trên Mobile */
  .category-page-title .woocommerce-result-count {
    display: none !important;
  }
  .category-page-title .flex-col:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .mbws-view-btn {
    padding: 0 9px;
    font-size: 0.8rem;
    height: 32px;
  }
  .category-page-title .woocommerce-ordering {
    flex: 1;
    min-width: 140px;
  }
  .category-page-title .woocommerce-ordering select {
    width: 100%;
    height: 34px !important;
    font-size: 0.82rem;
  }

  /* Trang Chi tiết Sản phẩm (Single Product) trên Mobile */
  .product-main {
    padding: 15px 0 !important;
  }
  .product-info.summary h1.product-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
  }
  .mbws-spec-row {
    font-size: 0.84rem;
  }
  .mbws-spec-label {
    width: 40%;
    min-width: 118px;
    padding: 8px 10px;
  }
  .mbws-spec-val {
    padding: 8px 10px;
    word-break: break-word;
  }
  .mbws-quote-sub-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mbws-quote-sub-btn {
    height: 42px;
    font-size: 0.9rem;
  }

  /* Popup Modal Báo giá trên Mobile */
  .mfp-content #mbws-quote-modal,
  .mfp-content #vp-about-quote-modal {
    max-width: 94vw !important;
    margin: 0 auto;
  }
  .mbws-qm-header {
    padding: 14px 16px 12px 16px;
  }
  .mbws-qm-header-title {
    font-size: 1rem;
  }
  .mbws-qm-body {
    padding: 14px 16px 16px 16px;
  }

  /* Trang Giới thiệu (/gioi-thieu) trên Mobile */
  .vp-sec-heading {
    font-size: 1.3rem;
    margin-bottom: 16px !important;
  }
  .vp-sec-heading::before {
    height: 22px;
    width: 4px;
  }
  .vp-ab-hero-sub {
    font-size: 0.92rem;
  }
  .vp-ab-hero-title {
    font-size: 2.35rem;
  }
  .vp-ab-hero-tagline {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  .vp-ab-hero-cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #d5e4f5;
  }
  .vp-ab-cat-item {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 4px;
  }
  .vp-ab-cat-item:nth-child(3),
  .vp-ab-cat-item:nth-child(4) {
    border-bottom: none;
  }
  .vp-cs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vp-timeline-track,
  .vp-tl-dot {
    display: none;
  }
  .vp-timeline-cols,
  .vp-cap-cards-grid,
  .vp-wh-grid,
  .vp-cta-info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .vp-vmv-card {
    padding: 18px 16px;
    gap: 12px;
  }
  .vp-cap-card {
    padding: 18px 16px;
  }
  .vp-cap-card-num {
    font-size: 1.9rem;
  }
  .vp-cap-card-title {
    white-space: normal;
  }
  .vp-wholesale-banner-card {
    padding: 22px 18px;
  }
  .vp-cta-top-brand {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .vp-cta-main-heading {
    font-size: 1.4rem;
  }
  .vp-cta-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* --- 8.3 MÀN HÌNH ĐIỆN THOẠI NHỎ (<= 390px) --- */
@media (max-width: 390px) {
  .vp-ab-hero-title {
    font-size: 2rem;
  }
  .mbws-spec-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .mbws-spec-label {
    width: 100%;
    border-right: none;
    border-bottom: 1px dashed #eef2f7;
    padding-bottom: 4px;
  }
  .mbws-spec-val {
    width: 100%;
    padding-top: 4px;
  }
}








/* ==========================================================================
   9. HỆ THỐNG TIN TỨC VÀ KIẾN THỨC CHUẨN SEO & B2B (5 CHUYÊN MỤC)
   - Header Chuyên mục & Thanh Tab Lọc nhanh 5 Danh mục
   - Lưới Bài viết 2 cột (Archive Card Grid)
   - Trang Chi tiết Bài viết (Single Post + Mục lục TOC + Bảng Kỹ thuật)
   - Cột Sidebar Kỹ thuật & Bài viết liên quan
   ========================================================================== */

/* Menu Dropdown cho mục Tin tức và kiến thức (hiển thị gọn 1 dòng cho tên danh mục dài) */
.header-nav .menu-item-has-children .sub-menu.nav-dropdown {
  min-width: 285px !important;
  padding: 6px 0 !important;
  border-radius: 8px !important;
  border: 1px solid #dbe7f5 !important;
  box-shadow: 0 10px 28px rgba(11, 46, 89, 0.14) !important;
}
.header-nav .menu-item-has-children .sub-menu.nav-dropdown > li > a {
  padding: 10px 16px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.header-nav .menu-item-has-children .sub-menu.nav-dropdown > li:last-child > a {
  border-bottom: none !important;
}
.header-nav .menu-item-has-children .sub-menu.nav-dropdown > li:hover > a,
.header-nav .menu-item-has-children .sub-menu.nav-dropdown > li.current-menu-item > a {
  background: #f0f6fe !important;
  color: #0052A2 !important;
  padding-left: 20px !important;
}

/* 9.1 Header Trang Chuyên mục Tin tức & Thanh Tab 5 Danh mục */
.vp-blog-hero-header {
  background: linear-gradient(135deg, #092c54 0%, #0052A2 100%);
  padding: 32px 0 0 0;
  color: #ffffff;
  border-bottom: 1px solid #dbe7f5;
}
.vp-breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 14px;
}
.vp-breadcrumb-nav a {
  color: #475569;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.18s ease;
}
.vp-breadcrumb-nav a:hover {
  color: #0052A2;
}
.vp-breadcrumb-nav .vp-bc-current {
  color: #0f172a;
  font-weight: 700;
}
.vp-breadcrumb-nav.vp-bc-light {
  color: rgba(255, 255, 255, 0.7);
}
.vp-breadcrumb-nav.vp-bc-light a {
  color: rgba(255, 255, 255, 0.82);
}
.vp-breadcrumb-nav.vp-bc-light a:hover {
  color: #F7962E;
}
.vp-breadcrumb-nav.vp-bc-light .vp-bc-current {
  color: #ffffff;
}
.vp-bh-main {
  max-width: 820px;
  padding-bottom: 24px;
}
.vp-bh-badge {
  display: inline-block;
  background: rgba(247, 150, 46, 0.18);
  border: 1px solid rgba(247, 150, 46, 0.5);
  color: #ffbe73;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.vp-bh-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
  margin: 0 0 10px 0 !important;
}
.vp-bh-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 !important;
}

/* Thanh Tab 6 Mục (Tất cả + 5 Chuyên mục con) */
.vp-blog-cat-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.vp-bct-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.vp-bct-item:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}
.vp-bct-item.active {
  background: #F7962E;
  border-color: #F7962E;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(247, 150, 46, 0.35);
}
.vp-bct-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.74rem;
  font-weight: 700;
}
.vp-bct-item.active .vp-bct-count {
  background: rgba(255, 255, 255, 0.25);
}

/* Thanh Breadcrumb trên trang Chi tiết bài viết */
.vp-blog-breadcrumb-bar {
  background: #f4f8fc;
  border-bottom: 1px solid #e2ecf7;
  padding: 12px 0;
}
.vp-blog-breadcrumb-bar .vp-breadcrumb-nav {
  margin-bottom: 0;
}

/* 9.2 Khung Layout Chung & Lưới Bài viết 2 cột (Archive Card Grid) */
.blog-wrapper.page-wrapper {
  background: #f8fafd;
  padding: 36px 0 60px 0 !important;
}
.vp-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.vp-post-card {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0 !important;
  box-shadow: 0 4px 14px rgba(11, 46, 89, 0.04);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.vp-post-card:hover {
  transform: translateY(-4px);
  border-color: #0052A2;
  box-shadow: 0 12px 26px rgba(0, 82, 162, 0.11);
}
.vp-pc-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef4fb;
}
.vp-pc-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}
.vp-pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}
.vp-post-card:hover .vp-pc-img {
  transform: scale(1.05);
}
.vp-pc-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 46, 89, 0.9);
  border-left: 3px solid #F7962E;
  color: #ffffff !important;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  text-decoration: none !important;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.vp-pc-cat-badge:hover {
  background: #0052A2;
}
.vp-pc-body {
  padding: 18px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vp-pc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 8px;
}
.vp-pc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vp-pc-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.42;
  margin: 0 0 10px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vp-pc-title a {
  color: #06305F !important;
  text-decoration: none !important;
  transition: color 0.18s ease;
}
.vp-post-card:hover .vp-pc-title a {
  color: #0052A2 !important;
}
.vp-pc-excerpt {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.58;
  margin: 0 0 16px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.vp-pc-footer {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}
.vp-pc-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0052A2 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease, color 0.2s ease;
}
.vp-pc-readmore:hover {
  color: #F7962E !important;
  gap: 10px;
}

/* Khoảng cách thoáng đãng cho cụm phân trang (Pagination) dưới lưới bài viết */
.vp-blog-pagination {
  margin-top: 32px;
  padding-top: 8px;
}
.vp-blog-pagination .page-numbers {
  margin-bottom: 0 !important;
}

/* 9.3 Trang Chi tiết Bài viết (Single Article) Chuẩn SEO */
.vp-single-article {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 4px 18px rgba(11, 46, 89, 0.04);
  margin-bottom: 32px;
}
.vp-sa-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  color: #64748b;
}
.vp-sa-cat-pill {
  display: inline-block;
  background: #eaf3fc;
  border: 1px solid #c6ddf5;
  color: #0052A2 !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: 20px;
  text-decoration: none !important;
}
.vp-sa-cat-pill:hover {
  background: #0052A2;
  color: #ffffff !important;
}
.vp-sa-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vp-sa-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #06305F;
  line-height: 1.32;
  margin: 0 0 16px 0 !important;
}
.vp-sa-lead {
  background: #f4f8fd;
  border-left: 4px solid #0052A2;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 0.96rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.62;
  margin-bottom: 22px;
}
.vp-sa-featured-img {
  margin: 0 0 24px 0 !important;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2ecf7;
  background: #f8fafc;
}
.vp-sa-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}
.vp-sa-featured-img figcaption {
  padding: 8px 14px;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  font-style: italic;
}

/* Khung Mục lục tự động (TOC Box) */
.vp-toc-box {
  background: #f8fbff;
  border: 1px solid #d0e2f7;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 26px;
}
.vp-toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #06305F;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d0e2f7;
}
.vp-toc-header svg {
  color: #0052A2;
}
.vp-toc-list {
  margin: 0 !important;
  padding-left: 20px !important;
}
.vp-toc-list li {
  margin-bottom: 6px !important;
  font-size: 0.9rem;
  color: #0052A2;
  font-weight: 600;
}
.vp-toc-list li:last-child {
  margin-bottom: 0 !important;
}
.vp-toc-list li a {
  color: #1e293b;
  text-decoration: none !important;
  transition: color 0.18s ease;
}
.vp-toc-list li a:hover {
  color: #0052A2;
  text-decoration: underline !important;
}

/* Định dạng Nội dung bài viết chuyên sâu (.vp-sa-content) */
.vp-sa-content {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #1e293b;
}
.vp-sa-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #06305F;
  margin: 28px 0 12px 0 !important;
  padding-left: 12px;
  border-left: 4px solid #F7962E;
  line-height: 1.35;
  scroll-margin-top: 90px;
}
.vp-sa-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0052A2;
  margin: 20px 0 10px 0 !important;
}
.vp-sa-content p {
  margin-bottom: 14px !important;
  text-align: justify;
}
.vp-sa-content ul,
.vp-sa-content ol {
  margin: 0 0 18px 0 !important;
  padding-left: 22px !important;
}
.vp-sa-content li {
  margin-bottom: 8px !important;
  line-height: 1.65;
}
.vp-sa-content code {
  background: #fff4e6;
  border: 1px solid #fed7aa;
  color: #b45309;
  font-family: "Be Vietnam Pro", monospace;
  font-weight: 700;
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 4px;
}
.vp-sa-content a {
  color: #0052A2;
  font-weight: 600;
  text-decoration: underline;
}
.vp-sa-content a:hover {
  color: #F7962E;
}

/* Bảng thông số kỹ thuật trong bài viết (.vp-tech-table) */
.vp-tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px 0 !important;
  font-size: 0.9rem;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  overflow: hidden;
}
.vp-tech-table thead th {
  background: #0052A2;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 11px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.86rem;
  text-transform: none;
}
.vp-tech-table thead th:last-child {
  border-right: none;
}
.vp-tech-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2ecf7;
  border-right: 1px solid #eef4fb;
  color: #1e293b;
  vertical-align: top;
  line-height: 1.5;
}
.vp-tech-table tbody td:last-child {
  border-right: none;
}
.vp-tech-table tbody tr:nth-child(even) {
  background: #f8fbff;
}
.vp-tech-table tbody tr:hover {
  background: #eff6ff;
}

/* Hộp lưu ý kỹ thuật (.vp-callout-box) */
.vp-callout-box {
  background: #fffaf2;
  border: 1px solid #fde2b8;
  border-left: 4px solid #F7962E;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0 24px 0;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.65;
}
.vp-callout-box strong {
  color: #06305F;
}

/* Khung CTA Kỹ thuật cuối bài viết */
.vp-article-cta-box {
  margin-top: 28px;
  background: linear-gradient(135deg, #092c54 0%, #0052A2 100%);
  border-radius: 12px;
  padding: 24px 26px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.vp-acb-left {
  flex: 1;
  min-width: 260px;
}
.vp-acb-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffbe73;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.vp-acb-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
}
.vp-acb-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 !important;
  line-height: 1.5;
}
.vp-acb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vp-acb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.vp-acb-btn:hover {
  transform: translateY(-2px);
}
.vp-acb-btn.call {
  background: #F7962E;
  color: #ffffff !important;
}
.vp-acb-btn.zalo {
  background: #ffffff;
  color: #0052A2 !important;
}
.vp-acb-btn.shop {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

/* Thẻ Tags cuối bài viết */
.vp-sa-footer-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e2ecf7;
}
.vp-sft-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}
.vp-sft-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vp-sft-list a {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155 !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 15px;
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.vp-sft-list a:hover {
  background: #0052A2;
  border-color: #0052A2;
  color: #ffffff !important;
}

/* Bài viết kỹ thuật liên quan (3 cột) */
.vp-related-section {
  margin-top: 32px;
}
.vp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.vp-related-grid .vp-pc-title {
  font-size: 0.98rem;
}
.vp-related-grid .vp-pc-excerpt {
  -webkit-line-clamp: 2;
  font-size: 0.84rem;
}

/* 9.4 Cột Sidebar Kỹ thuật bên phải (.vp-blog-sidebar) */
.vp-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.vp-bs-widget {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  padding: 18px 18px;
  box-shadow: 0 3px 12px rgba(11, 46, 89, 0.03);
}
.vp-bs-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #06305F;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 14px 0 !important;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef4fb;
  position: relative;
}
.vp-bs-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 42px;
  height: 2px;
  background: #F7962E;
}

/* Ô tìm kiếm bài viết Sidebar */
.vp-bs-search-form {
  margin: 0 !important;
}
.vp-bs-search-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  overflow: hidden;
  background: #f8fafc;
}
.vp-bs-search-wrap:focus-within {
  border-color: #0052A2;
  background: #ffffff;
}
.vp-bs-search-wrap input[type="search"] {
  flex: 1;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
  height: 38px !important;
  padding: 0 12px !important;
  font-size: 0.88rem;
}
.vp-bs-search-wrap button {
  margin: 0 !important;
  padding: 0 14px !important;
  min-height: 38px !important;
  background: #0052A2 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
}
.vp-bs-search-wrap button:hover {
  background: #F7962E !important;
}

/* Danh sách 5 Chuyên mục trong Sidebar */
.vp-bs-cat-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.vp-bs-cat-list li {
  margin: 0 0 6px 0 !important;
}
.vp-bs-cat-list li:last-child {
  margin-bottom: 0 !important;
}
.vp-bs-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f8fafd;
  border: 1px solid #edf2f9;
  color: #1e293b !important;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.vp-bs-cat-list li a:hover {
  background: #eef5fc;
  border-color: #0052A2;
  color: #0052A2 !important;
}
.vp-bs-cat-list li.active a {
  background: #0052A2;
  border-color: #0052A2;
  color: #ffffff !important;
  font-weight: 700;
}
.vp-bs-cat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border-radius: 12px;
  background: #e2ecf7;
  color: #06305F;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.vp-bs-cat-list li.active .vp-bs-cat-badge {
  background: #F7962E;
  color: #ffffff;
}

/* Bài viết mới cập nhật trong Sidebar */
.vp-bs-recent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vp-bs-recent-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  text-decoration: none !important;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2ecf7;
}
.vp-bs-recent-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.vp-bs-recent-img {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}
.vp-bs-recent-info {
  flex: 1;
  min-width: 0;
}
.vp-bs-recent-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #F7962E;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.vp-bs-recent-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.38;
  margin: 0 0 3px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s ease;
}
.vp-bs-recent-item:hover .vp-bs-recent-title {
  color: #0052A2;
}
.vp-bs-recent-date {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
}

/* Danh mục sản phẩm chủ lực trong Sidebar */
.vp-bs-prod-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vp-bs-pcat-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f8fafd;
  border: 1px solid #e6eef8;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.vp-bs-pcat-link:hover {
  border-color: #0052A2;
  background: #eff6ff;
  transform: translateX(2px);
}
.vp-bs-pcat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dce7f5;
  color: #0052A2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vp-bs-pcat-icon svg {
  width: 22px;
  height: 22px;
}
.vp-bs-pcat-text {
  display: flex;
  flex-direction: column;
}
.vp-bs-pcat-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: #06305F;
  line-height: 1.25;
}
.vp-bs-pcat-text small {
  font-size: 0.75rem;
  color: #64748b;
}

/* Box Hỗ trợ Kỹ thuật 24/7 trong Sidebar (Đồng bộ Card trắng sạch sẽ, nút 1 dòng cân đối) */
.vp-bs-support-card {
  background: #ffffff;
  border: 1px solid #dce7f5;
  color: #1e293b;
}
.vp-bss-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.56;
  margin: 0 0 14px 0 !important;
}
.vp-bss-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vp-bss-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.vp-bss-btn svg,
.vp-zalo-real-icon {
  flex-shrink: 0;
}
.vp-zalo-real-icon {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
  margin: 0 !important;
  display: inline-block;
}
.vp-bss-btn.primary-btn {
  background: #0052A2;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(0, 82, 162, 0.18);
}
.vp-bss-btn.primary-btn:hover {
  background: #09477c;
  transform: translateY(-1px);
}
.vp-bss-btn.zalo-btn {
  background: #f0f7ff;
  border: 1px solid #bfd7f2;
  color: #0052A2 !important;
}
.vp-bss-btn.zalo-btn:hover {
  background: #0052A2;
  border-color: #0052A2;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Tag Cloud Chips trong Sidebar */
.vp-bs-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vp-bs-tag-chip {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #dbe4ef;
  color: #334155 !important;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.vp-bs-tag-chip:hover {
  background: #0052A2;
  border-color: #0052A2;
  color: #ffffff !important;
}

/* Responsive cho Trang Tin tức & Bài viết trên Tablet và Mobile */
@media (max-width: 849px) {
  .vp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vp-single-article {
    padding: 24px 20px;
  }
  .vp-sa-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 549px) {
  .vp-blog-hero-header {
    padding: 22px 0 0 0;
  }
  .vp-bh-title {
    font-size: 1.55rem;
  }
  .vp-bh-desc {
    font-size: 0.86rem;
  }
  .vp-blog-grid,
  .vp-related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vp-single-article {
    padding: 18px 14px;
  }
  .vp-sa-title {
    font-size: 1.32rem;
  }
  .vp-sa-content h2 {
    font-size: 1.15rem;
  }
  .vp-tech-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .vp-article-cta-box {
    padding: 18px 16px;
  }
  .vp-acb-actions {
    width: 100%;
    flex-direction: column;
  }
  .vp-acb-btn {
    justify-content: center;
    width: 100%;
  }
}

/* 9.5 Khu vực Tin tức và kiến thức ngoài Trang chủ ([vp_home_news]) */
.vp-home-news-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.vp-hnp-item {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #d0e1f5;
  color: #06305F !important;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.vp-hnp-item:hover {
  background: #0052A2;
  border-color: #0052A2;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.vp-home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.vp-home-news-grid .vp-pc-body {
  padding: 15px 16px 16px 16px;
}
.vp-home-news-grid .vp-pc-title {
  font-size: 0.98rem;
}
.vp-home-news-grid .vp-pc-excerpt {
  font-size: 0.84rem;
  -webkit-line-clamp: 2;
}
@media (max-width: 849px) {
  .vp-home-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 549px) {
  .vp-home-news-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .vp-hnp-item {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .vp-home-news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   10. CHUẨN HÓA UI/UX CARD SẢN PHẨM TOÀN TRANG (KHÔNG BAO GIỜ VỠ KHUNG)
   - Cố định tỷ lệ khung ảnh 1:1
   - Danh mục phụ: 1 dòng
   - Tiêu đề sản phẩm: Cố định đúng 2 dòng (height: 2.8em, ellipsis)
   - Hàng Badge Thương hiệu + Mã SP: Cố định 1 dòng (nowrap + ellipsis)
   - Hàng Giá bán: Cố định 1 dòng, luôn nằm thẳng hàng sát đáy Card
   ========================================================================== */

/* Ẩn mũi tên > bị trùng trong tiêu đề Section (Xem tất cả →) */
.section-title-container .section-title a i.icon-angle-right {
  display: none !important;
}
.section-title-container .section-title a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0052A2 !important;
  text-decoration: none !important;
  transition: color 0.18s ease, transform 0.18s ease;
}
.section-title-container .section-title a:hover {
  color: #F7962E !important;
}

/* Lưới các cột sản phẩm luôn bằng chiều cao nhau & thẳng mép với tiêu đề Section */
.products.row,
.ux-products .row,
.col-inner > .row.row-small {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px !important;
  margin-right: -8px !important;
}
.product.product-small.col {
  display: flex !important;
  flex-direction: column;
  padding: 0 8px 16px 8px !important;
}
.product.product-small > .col-inner,
.category-page-row .products .product > .col-inner {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100% !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(11, 46, 89, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.product.product-small > .col-inner:hover,
.category-page-row .products .product > .col-inner:hover {
  border-color: #0052A2 !important;
  box-shadow: 0 8px 22px rgba(0, 82, 162, 0.1) !important;
  transform: translateY(-3px);
}

/* Cấu trúc bên trong Card ở chế độ Lưới (Grid View) */
.product-small.box:not(.box-vertical) {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  width: 100%;
  height: 100%;
}

/* 1. Khung ảnh vuông 1:1 sạch sẽ, tràn viền khung ảnh không bị lồng 2 viền */
.product-small.box:not(.box-vertical) .box-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  overflow: hidden;
  background: #f8fafc;
  border: none !important;
  flex-shrink: 0;
}
.product-small.box:not(.box-vertical) .box-image .image-none,
.product-small.box:not(.box-vertical) .box-image .image-fade_in_back,
.product-small.box:not(.box-vertical) .box-image .image-zoom,
.product-small.box:not(.box-vertical) .box-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-small.box:not(.box-vertical) .box-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  background: #f8fafc;
  transition: transform 0.3s ease;
}
.product.product-small:hover .product-small.box:not(.box-vertical) .box-image img {
  transform: scale(1.04);
}

/* 2. Khu vực Text bên dưới ảnh */
.product-small.box:not(.box-vertical) .box-text {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 10px 0 0 0 !important;
  text-align: left !important;
}
.product-small.box:not(.box-vertical) .box-text .title-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Dòng tên Danh mục nhỏ phía trên (Cố định 1 dòng) */
.product-small.box:not(.box-vertical) .box-text .category {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.3 !important;
  height: 1.3em;
  margin: 0 0 4px 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1 !important;
}

/* Tên sản phẩm: Cố định chính xác chiều cao 2 dòng (2.76em), cắt dấu ... nếu dài */
.product-small.box:not(.box-vertical) .box-text .product-title,
.product-small.box:not(.box-vertical) .box-text .woocommerce-loop-product__title {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  height: 2.76em !important;
  min-height: 2.76em !important;
  max-height: 2.76em !important;
  padding: 0 !important;
  margin: 0 0 8px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word;
}
.product-small.box:not(.box-vertical) .box-text .product-title a {
  color: #06305F !important;
  text-decoration: none !important;
  display: inline !important;
  transition: color 0.18s ease;
}
.product.product-small:hover .product-small.box:not(.box-vertical) .box-text .product-title a {
  color: #0052A2 !important;
}

/* 3. Khung Giá bán (Luôn đẩy sát đáy Card để thẳng hàng 100%) */
.product-small.box:not(.box-vertical) .box-text .price-wrapper {
  margin-top: auto !important;
  padding-top: 8px;
  border-top: 1px solid #eef3f9;
  width: 100%;
}
.product-small.box:not(.box-vertical) .mbws-product-specs {
  display: none !important;
}

/* Hàng Giá bán: Giá khuyến mãi đứng trước (trái), giá gốc gạch ngang đứng sau (phải), không bao giờ bị cắt chữ */
.product-small.box:not(.box-vertical) .price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 2px 6px !important;
  font-size: 0.94rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
}
.product-small.box:not(.box-vertical) .price ins {
  order: 1;
}
.product-small.box:not(.box-vertical) .price del {
  order: 2;
}
.price del {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  font-size: 0.78rem !important;
  text-decoration: line-through !important;
  opacity: 1 !important;
}
.price del span,
.price del bdi {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  font-size: 1em !important;
  opacity: 1 !important;
}
.price ins,
.price ins span,
.price ins bdi,
.price > .woocommerce-Price-amount bdi {
  color: #0052A2 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Responsive Card Sản phẩm trên Điện thoại (<= 549px) */
@media (max-width: 549px) {
  .products.row,
  .ux-products .row,
  .col-inner > .row.row-small {
    margin-left: -5px !important;
    margin-right: -5px !important;
  }
  .product.product-small.col {
    padding: 0 5px 10px 5px !important;
  }
  .product.product-small > .col-inner,
  .category-page-row .products .product > .col-inner {
    padding: 8px !important;
    border-radius: 8px !important;
  }
  .product-small.box:not(.box-vertical) .box-text .product-title,
  .product-small.box:not(.box-vertical) .box-text .woocommerce-loop-product__title {
    font-size: 0.84rem !important;
    line-height: 1.36 !important;
    height: 2.72em !important;
    min-height: 2.72em !important;
    max-height: 2.72em !important;
  }
  .product-small.box:not(.box-vertical) .price {
    font-size: 0.88rem !important;
  }
  .price del {
    font-size: 0.72rem !important;
  }
}

/* 4. Nút hành động trên Card Sản phẩm: [Báo giá] toàn chiều rộng + toàn Card có cursor: pointer */
.product.product-small > .col-inner,
.category-page-row .products .product > .col-inner {
  cursor: pointer;
}
.vp-card-actions {
  display: flex !important;
  gap: 6px;
  margin-top: 9px;
  width: 100%;
}
.box .vp-card-actions a.vp-card-btn,
.product-small .vp-card-actions a.vp-card-btn,
.vp-card-actions .vp-card-btn {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 6px !important;
  gap: 5px;
  overflow: hidden;
}
.vp-card-btn.btn-detail {
  background: #ffffff;
  border: 1px solid #0052A2;
  color: #0052A2 !important;
}
.vp-card-btn.btn-detail:hover {
  background: #EAF2FA;
  color: #0052A2 !important;
}
.box .vp-card-actions a.vp-card-btn,
.product-small .vp-card-actions a.vp-card-btn,
.vp-card-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  width: 100% !important;
  height: 34px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.vp-card-btn svg {
  width: 14px !important;
  height: 14px !important;
  display: inline-block;
  vertical-align: middle;
  line-height: 1 !important;
  margin: 0 !important;
  flex-shrink: 0;
}
.vp-card-btn span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1 !important;
  margin: 0 !important;
  flex-shrink: 0;
}
.vp-card-btn.btn-quote {
  background: #0052A2;
  border: 1px solid #0052A2;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 82, 162, 0.16);
}
.vp-card-btn.btn-quote:hover {
  background: #F7962E;
  border-color: #F7962E;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(247, 150, 46, 0.26);
}

/* Chế độ Danh sách (List View) */
.products.mbws-list-view .vp-card-actions,
.products.has-box-vertical .vp-card-actions {
  max-width: 300px;
  margin-top: 12px;
}

/* Đồng bộ giao diện Popup Báo giá từ Card (#vp-global-quote-modal) */
#vp-global-quote-modal {
  border-radius: 10px;
  overflow: hidden;
  padding: 0 !important;
}
#vp-global-quote-modal .mbws-qf-row br {
  display: none !important;
}
#vp-global-quote-modal .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0 !important;
}
#vp-global-quote-modal .wpcf7-form .wpcf7-form-control-wrap input.mbws-qf-input {
  height: 40px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
  color: #0f172a !important;
}
#vp-global-quote-modal .wpcf7-form .wpcf7-form-control-wrap textarea.mbws-qf-textarea {
  height: 82px !important;
  min-height: 82px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
  color: #0f172a !important;
}
#vp-global-quote-modal .wpcf7-spinner {
  position: absolute !important;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
}
#vp-global-quote-modal .wpcf7-form .wpcf7-submit.mbws-qf-submit {
  width: 100% !important;
  height: 42px !important;
  line-height: 40px !important;
  margin: 0 !important;
  border-radius: 5px !important;
  background: var(--fs-color-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95em !important;
}
#vp-global-quote-modal .wpcf7-form.init .wpcf7-response-output,
#vp-global-quote-modal .wpcf7-form.resetting .wpcf7-response-output,
#vp-global-quote-modal .wpcf7-form.submitting .wpcf7-response-output,
#vp-global-quote-modal .wpcf7-response-output:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 549px) {
  .vp-card-actions {
    gap: 5px;
    margin-top: 8px;
  }
  .vp-card-btn {
    height: 31px;
    font-size: 0.74rem;
    padding: 0 4px;
    gap: 4px;
  }
  .vp-card-btn svg {
    width: 12px;
    height: 12px;
  }
  .mfp-content #vp-global-quote-modal {
    max-width: 94vw !important;
    margin: 0 auto;
  }
}

/* ==========================================================================
   11. TRANG CHI TIẾT SẢN PHẨM: KHUNG MÔ TẢ & SẢN PHẨM TƯƠNG TỰ CHUẨN B2B
   ========================================================================== */

/* Ẩn đường kẻ ngang mảnh mặc định của Flatsome ở .product-footer */
.single-product .product-footer .woocommerce-tabs,
.single-product .product-footer .related {
  border-top: none !important;
}

/* Đóng khung Card trắng sang trọng cho phần Mô tả chi tiết sản phẩm (Chuẩn mẫu Reference) */
.single-product .product-footer .woocommerce-tabs {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
  margin: 18px auto 40px auto !important;
  padding: 0 !important;
}
.single-product .product-footer .woocommerce-tabs ul.tabs {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 14px 24px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}
.single-product .product-footer .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
}
.single-product .product-footer .woocommerce-tabs ul.tabs li > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  color: #1e293b !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
}
.single-product .product-footer .woocommerce-tabs ul.tabs li > a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230052A2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  position: static !important;
  background-color: transparent !important;
}
.single-product .product-footer .woocommerce-tabs ul.tabs li.active > a,
.single-product .product-footer .woocommerce-tabs ul.tabs li > a:hover {
  background: transparent !important;
  color: #1e293b !important;
  border: none !important;
}

/* Nội dung bên trong khung Mô tả chi tiết sản phẩm */
.single-product .product-footer .woocommerce-tabs .tab-panels {
  padding: 24px 28px !important;
  background: #ffffff !important;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.68;
}
.single-product .product-footer .woocommerce-tabs .tab-panels p {
  margin-bottom: 14px !important;
  color: #334155;
  line-height: 1.68;
}
.single-product .product-footer .woocommerce-tabs .tab-panels h2,
.single-product .product-footer .woocommerce-tabs .tab-panels h3 {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  padding-left: 10px;
  border-left: 3.5px solid #0052A2;
  margin: 22px 0 12px 0 !important;
  line-height: 1.32;
}
.single-product .product-footer .woocommerce-tabs .tab-panels h3:first-of-type {
  margin-top: 16px !important;
}
.single-product .product-footer .woocommerce-tabs .tab-panels ul {
  margin: 0 0 16px 0 !important;
  padding-left: 20px !important;
}
.single-product .product-footer .woocommerce-tabs .tab-panels li {
  margin-bottom: 10px !important;
  line-height: 1.65;
  color: #334155;
}
.single-product .product-footer .woocommerce-tabs .tab-panels li strong {
  color: #1e293b;
  font-weight: 700;
}
.single-product .product-footer .woocommerce-tabs .tab-panels code {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #06305F;
  font-weight: 700;
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Tiêu đề "Sản phẩm tương tự" đồng bộ chuẩn VINPART */
.single-product .product-footer .related .product-section-title {
  display: flex !important;
  align-items: center;
  gap: 12px;
  font-size: 1.42rem !important;
  font-weight: 800 !important;
  color: #06305F !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  border: none !important;
}
.single-product .product-footer .related .product-section-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 24px;
  background: #F7962E;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 549px) {
  .single-product .product-footer .woocommerce-tabs ul.tabs {
    padding: 0 16px !important;
  }
  .single-product .product-footer .woocommerce-tabs ul.tabs li > a {
    font-size: 0.9rem !important;
    padding: 12px 2px 10px 2px !important;
  }
  .single-product .product-footer .woocommerce-tabs .tab-panels {
    padding: 18px 16px !important;
  }
  .single-product .product-footer .related .product-section-title {
    font-size: 1.22rem !important;
  }
}

/* ==========================================================================
   12. DANH MỤC SẢN PHẨM TRANG CHỦ: CARD ẢNH FULL + TÊN DANH MỤC THẬT SẠCH ĐẸP
   ========================================================================== */
.vp-cat-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.vp-cat-card-full {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce6f2;
  box-shadow: 0 4px 14px rgba(11, 46, 89, 0.05);
  text-decoration: none !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.vp-cat-card-full:hover {
  transform: translateY(-4px);
  border-color: #0052A2;
  box-shadow: 0 10px 24px rgba(0, 82, 162, 0.14);
}
.vp-ccf-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
}
.vp-ccf-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  transition: transform 0.38s ease;
}
.vp-cat-card-full:hover .vp-ccf-img {
  transform: scale(1.06);
}
.vp-ccf-label {
  padding: 14px 12px;
  background: #ffffff;
  border-top: 1px solid #eef3f9;
  text-align: center;
  transition: background 0.22s ease;
}
.vp-cat-card-full:hover .vp-ccf-label {
  background: #0052A2;
}
.vp-ccf-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #06305F !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3 !important;
  margin: 0 !important;
  transition: color 0.22s ease;
}
.vp-cat-card-full:hover .vp-ccf-title {
  color: #ffffff !important;
}

@media (max-width: 849px) {
  .vp-cat-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 549px) {
  .vp-cat-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .vp-ccf-label {
    padding: 10px 8px;
  }
  .vp-ccf-title {
    font-size: 0.88rem !important;
  }
}

/* Ẩn hoàn toàn dòng Badge Thương hiệu + Mã SP trên Card ở chế độ Lưới */
.product-small.box:not(.box-vertical) .mbws-product-specs,
.mbws-specs-compact {
  display: none !important;
}

/* Cân đối chiều cao Banner dọc (span="3") bằng đúng 100% chiều cao lưới sản phẩm (span="9") ở các Section Trang chủ */
.row.align-equal > .col.large-3 {
  display: flex !important;
  flex-direction: column !important;
}
.row.align-equal > .col.large-3 > .col-inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 16px !important;
}
.row.align-equal > .col.large-3 > .col-inner > .img {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(11, 46, 89, 0.1);
  border: 1px solid #e2e8f0;
}
.row.align-equal > .col.large-3 > .col-inner > .img > a,
.row.align-equal > .col.large-3 > .col-inner > .img .img-inner {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 320px;
  margin: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.row.align-equal > .col.large-3 > .col-inner > .img .img-inner img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 10px !important;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.row.align-equal > .col.large-3 > .col-inner > .img:hover .img-inner img {
  transform: scale(1.04) !important;
}

/* Bảng linh kiện / thông số trong mô tả sản phẩm */
.vp-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 20px; }
.vp-spec-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; }
.vp-spec-table th, .vp-spec-table td { border: 1px solid #DCE7F5; padding: 8px 12px; text-align: left; vertical-align: top; }
.vp-spec-table thead th { background: #0052A2; color: #fff; font-weight: 700; }
.vp-spec-table tbody tr:nth-child(even) td { background: #F4F8FD; }

/* ==========================================================================
   13. CỐ ĐỊNH BỐ CỤC 2 CỘT TRANG CHI TIẾT SẢN PHẨM (KHÔNG BỊ RỚT DÒNG KHI MÃ MODEL DÀI)
   ========================================================================== */
@media (min-width: 850px) {
  .single-product .product-main > .row.content-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }
  .single-product .product-main .product-gallery.col {
    flex: 0 0 46% !important;
    max-width: 46% !important;
    min-width: 0 !important;
  }
  .single-product .product-main .product-info.summary.col {
    flex: 0 0 54% !important;
    max-width: 54% !important;
    min-width: 0 !important;
  }
}

.single-product .product-main .product-info.summary {
  min-width: 0 !important;
}
.single-product .product-main h1.product-title,
.single-product .mbws-spec-val,
.single-product .mbws-spec-row,
.single-product .vp-prod-desc-structured {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.single-product .product-main h1.product-title {
  font-size: 1.48rem !important;
  line-height: 1.38 !important;
  font-weight: 800 !important;
  color: #0b2e59 !important;
  margin-bottom: 10px !important;
}

/* Khung ảnh sản phẩm trang Chi tiết: Bo góc sạch sẽ, căn giữa chuẩn 1:1 */
.single-product .product-gallery .product-images {
  border: 1px solid #dce6f2;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(11, 46, 89, 0.04);
  overflow: hidden;
}
.single-product .product-gallery .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
}
.single-product .product-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-height: 440px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}
.single-product .price-wrapper .product-page-price {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #0D5C9E !important;
  margin: 8px 0 12px 0 !important;
}

/* ==========================================================================
   MOBILE UI/UX (<= 549px) – Trang chủ & Card sản phẩm
   ========================================================================== */
@media (max-width: 549px) {
  /* 1. Banner dọc trang trí cạnh lưới sản phẩm: ẩn trên điện thoại (rule .align-equal > .col.large-3 đang ghi đè hide-for-small) */
  .row.align-equal > .col.hide-for-small,
  .row > .col.hide-for-small {
    display: none !important;
  }

  /* 2. Tiêu đề Section + "Xem tất cả" cùng 1 hàng */
  .section-title-container {
    margin-bottom: 14px !important;
  }
  .section-title-container .section-title {
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    gap: 10px !important;
  }
  .section-title-container .section-title .section-title-main {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    padding-bottom: 6px;
    min-width: 0;
  }
  .section-title-container .section-title a {
    margin-left: auto !important;
    flex: 0 0 auto;
    font-size: 0.78rem !important;
    white-space: nowrap;
    padding-bottom: 8px;
  }

  /* 3. Khoảng cách giữa các Section trang chủ gọn lại (trừ banner đầu trang) */
  body.home #content .section + .section {
    padding-top: 24px !important;
    padding-bottom: 14px !important;
  }
  body.home #content .section > .section-content > .row > .col {
    padding-bottom: 0 !important;
  }
  body.home .product-category.col {
    padding-bottom: 12px !important;
  }

  /* 4. Nút Chi tiết / Báo giá trên Card: ẩn icon, chữ vừa khung */
  .box .vp-card-actions a.vp-card-btn,
  .product-small .vp-card-actions a.vp-card-btn,
  .vp-card-actions .vp-card-btn {
    height: 32px !important;
    font-size: 0.78rem !important;
    padding: 0 4px !important;
  }
  .vp-card-actions .vp-card-btn svg {
    display: none !important;
  }
  .vp-card-actions {
    gap: 6px !important;
  }

  /* 5. Khối cam kết (featured box) */
  .mbws_icon-hover .icon-box-text h5,
  .mbws_icon-hover .icon-box-text h3 {
    font-size: 0.82rem !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }
  .mbws_icon-hover .icon-box-text p {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }
  .mbws_icon-hover .icon-box-img {
    width: 56px !important;
    margin-bottom: 8px !important;
  }
}

/* Nút "Gọi báo giá" trên header (thay chỗ giỏ hàng khi bật Catalog Mode) */
.header .cart-replace .button.vp-header-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  height: 38px;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 99px !important;
  background: var(--fs-color-secondary, #F7962E) !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  line-height: 1 !important;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(247, 150, 46, 0.28);
}
.header .cart-replace .button.vp-header-cta i {
  margin: 0 !important;
  font-size: 1rem;
  color: #fff;
}
.header .cart-replace .button.vp-header-cta span {
  color: #fff;
  margin: 0 !important;
}
.header .cart-replace .button.vp-header-cta:hover {
  background: var(--fs-color-primary, #0052A2) !important;
}
@media (max-width: 849px) {
  .header .cart-replace .button.vp-header-cta {
    width: 38px;
    padding: 0 !important;
    justify-content: center;
  }
  .header .cart-replace .button.vp-header-cta span {
    display: none;
  }
}
