/*
Theme Name: OTOHOME Child Theme
Theme URI: https://otohome.vn/
Description: Child theme chuyên biệt cho OTOHOME.VN — Cẩm nang xe hơi bỏ túi, Độ nội thất, Nhà di động (Mobihome) & Dịch vụ số ô tô (Tối ưu tốc độ, SEO Rank Math, Sổ bảo dưỡng số cá nhân, Cổng Bảo hiểm TNDS, Cứu hộ SOS, Tra cứu mã lỗi táp-lô, Flatsome UX Builder & WooCommerce)
Author: OTOHOME Engineering Team
Author URI: https://otohome.vn/
Template: flatsome
Version: 1.1
Update Date: 2026-10-10
Changelog:
- v1.1 (2026-10-10):
  + Rà soát toàn diện và đồng bộ hóa 100% nút bấm, màu sắc, font chữ, cỡ chữ nhất quán trên toàn bộ giao diện PC & Mobile.
  + Triệt tiêu triệt để các mã màu Morcar cũ (#FF5722), quy chuẩn hóa toàn bộ về mã màu nhận diện thương hiệu OTOHOME (#E52B38).
  + Tối ưu giao diện hiển thị Mobile-First: padding đáy chống che khuất bởi Mobile Sticky Footer Bar, touch target tối thiểu 44px, cuộn ngang mượt mà cho bảng biểu (.otohome-table-responsive).
  + Tích hợp hệ thống Thẻ bảo hành điện tử chuẩn tỷ lệ vàng ISO/IEC 7810 ID-1 và trang in A4 chuyên nghiệp.
- v1.0 (2026-10-10):
  + Kế thừa toàn bộ hệ thống Zero In-Page Style, Fluid Typography clamp() và tối ưu Mobile từ nền tảng Morcar v7.1.
  + Chuẩn hóa nhận diện thương hiệu OTOHOME: Primary Red (#E52B38), Deep Slate (#0F172A), Light Base (#FFFFFF / #F8FAFC), Text Slate (#334155).
  + Chuẩn hóa hệ thống Typography: Headings Plus Jakarta Sans (500-900), Body Inter (400-700).
  + Bổ sung giao diện chuyên sâu cho: Sổ bảo dưỡng số cá nhân, Cổng bảo hiểm TNDS điện tử, Tra cứu đèn báo táp-lô 3 màu (Đỏ/Vàng/Xanh) và Mobile Sticky Footer Bar 4 nút.
  + Hỗ trợ bộ icon SVG chuyên dụng Tabler Icons / Lucide Icons kết hợp Font Awesome 6.5.2.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

:root {
  --otohome-primary: #E52B38;
  --otohome-primary-hover: #C5222E;
  --otohome-secondary: #0F172A;
  --otohome-secondary-light: #1E293B;
  --otohome-dark: #0B132B;
  --otohome-text: #334155;
  --otohome-text-light: #64748B;
  --otohome-bg-light: #F8FAFC;
  --otohome-bg-white: #FFFFFF;
  --otohome-border: #E2E8F0;
  --otohome-success: #10B981;
  --otohome-warning: #F59E0B;
  --otohome-danger: #E52B38;
  --otohome-info: #0284C7;
  --otohome-font-heading: 'Plus Jakarta Sans', sans-serif;
  --otohome-font-body: 'Inter', sans-serif;
}


/* =======================================================
   1. BỘ FONT CHỮ CÔNG NGHỆ CAO CẤP CHUẨN TIẾNG VIỆT 100%
   ======================================================= */
body, p, span:not([class*="icon-"]):not([class*="fa-"]), li, textarea, select, input, button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .product-title, .widget-title, .section-title, .nav > li > a {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: -0.01em;
  color: #0F172A;
}


/* =======================================================
   2. BẢO TOÀN NGUYÊN BẢN GỐC LOGO DƯƠNG BẢN
   ======================================================= */
#logo img,
.stuck #logo img,
.header-main.stuck #logo img,
.has-transparent #logo img,
.has-transparent .stuck #logo img {
  filter: none !important;
  opacity: 1 !important;
  transition: all 0.25s ease;
}

/* Sửa lỗi hiển thị 2 logo khi cuộn trang Flatsome */
.header-main.is-stuck .logo a img:not(.sticky-logo) {
  display: none !important;
}
.header-main.is-stuck .logo a img + img {
  display: none !important;
}

/* =======================================================
   3. HỖ TRỢ HOÀN HẢO CẢ 2 MẪU TRANSPARENT HEADER FLATSOME
   (Page - Full Width - Transparent Header & Light Text)
   ======================================================= */

/* A. Menu tiêu chuẩn ở các trang bình thường */
.nav-column > li > a,
.nav-dropdown > li > a,
.nav-vertical-fly-out > li > a,
.nav > li > a {
  color: #0F172A;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* B. Khi ở chế độ Header Trong Suốt (Chưa cuộn trang) */
.has-transparent:not(.stuck) #header,
.has-transparent:not(.stuck) .header-wrapper,
.has-transparent:not(.stuck) .header-main,
.has-transparent:not(.stuck) .header-bottom,
.has-transparent:not(.stuck) #wide-nav,
.has-transparent:not(.stuck) .header-top {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

/* Toàn bộ chữ menu, icon tìm kiếm, giỏ hàng, tài khoản chuyển thành màu trắng sáng */
.has-transparent:not(.stuck) .header-main .nav > li > a,
.has-transparent:not(.stuck) .header-main .nav > li > a > span,
.has-transparent:not(.stuck) .header-main .header-nav a,
.has-transparent:not(.stuck) .header-main .header-nav i,
.has-transparent:not(.stuck) .header-main .header-nav span,
.has-transparent:not(.stuck) .header-main .account-item a,
.has-transparent:not(.stuck) .header-main .account-item span,
.has-transparent:not(.stuck) .header-main .cart-icon,
.has-transparent:not(.stuck) .header-main .cart-icon i,
.has-transparent:not(.stuck) .header-main .cart-icon strong,
.has-transparent:not(.stuck) .header-main .cart-icon span,
.has-transparent:not(.stuck) .header-main .header-button a {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.has-transparent:not(.stuck) .header-main .cart-icon strong {
  border-color: #ffffff !important;
}

.has-transparent:not(.stuck) .header-main .nav > li > a:hover,
.has-transparent:not(.stuck) .header-main .nav > li > a:hover > span {
  color: #E52B38 !important;
}

/* C. Khi cuộn chuột xuống (Sticky / Stuck Header) */
.header-wrapper.stuck,
.header-main.stuck,
.has-transparent.stuck .header-wrapper,
.has-transparent.stuck .header-main,
.has-transparent .header-wrapper.stuck,
.has-transparent .header-main.stuck {
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid #edf2f7 !important;
}

.header-wrapper.stuck .nav > li > a,
.header-wrapper.stuck .nav > li > a > span,
.header-wrapper.stuck .header-nav a,
.header-wrapper.stuck .header-nav i,
.header-wrapper.stuck .header-nav span,
.header-wrapper.stuck .account-item a,
.header-wrapper.stuck .account-item span,
.header-wrapper.stuck .cart-icon,
.header-wrapper.stuck .cart-icon i,
.header-wrapper.stuck .cart-icon strong,
.header-wrapper.stuck .cart-icon span,
.woocommerce-cart .nav > li > a,
.woocommerce-checkout .nav > li > a {
  color: #0F172A !important;
  text-shadow: none !important;
}

.header-wrapper.stuck .cart-icon strong {
  border-color: #0F172A !important;
}

.header-wrapper.stuck .nav > li > a:hover,
.header-wrapper.stuck .nav > li > a:hover > span {
  color: #E52B38 !important;
}

/* D. Tự động đẩy khoảng đệm Hero xuống dưới để KHÔNG BAO GIỜ bị Header đè chữ */
.has-transparent #content > .section:first-child,
.has-transparent #content > div > .section:first-child,
.has-transparent .content-area > .section:first-child,
.has-transparent .entry-content > .section:first-child {
  padding-top: 210px !important;
}

@media (max-width: 849px) {
  .has-transparent #content > .section:first-child,
  .has-transparent #content > div > .section:first-child,
  .has-transparent .content-area > .section:first-child,
  .has-transparent .entry-content > .section:first-child {
    padding-top: 110px !important;
  }
}


/* =======================================================
   4. BỐ CỤC CHUNG & CÁC HIỆU ỨNG ĐẶC BIỆT
   ======================================================= */
/* ĐẨY SÁT SECTION 1 LÊN SÁT MÉP HEADER (ZERO TOP GAP CHO TẤT CẢ LANDING PAGE) */
#main,
#content,
.content-area,
.page-wrapper,
.page-wrapper > .row-main,
.page-wrapper > .row-main > .col,
.col-inner {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Loại bỏ tiêu đề mặc định và khoảng đệm Flatsome phía trên Section 1 */
.page .entry-header,
.page-template-default .entry-header,
.page-header,
.page-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Triệt tiêu thẻ p rỗng hoặc comment wpautop trước section đầu tiên */
#content > p:first-child,
.content-area > p:first-child,
.entry-content > p:first-child {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Đảm bảo section đầu tiên ăn sát lên mép dưới của Header */
.section:first-child,
.section.mc-landing-page:first-of-type,
.mc-landing-page:first-child {
  margin-top: 0 !important;
}

.page-wrapper {
  padding-bottom: 30px;
  padding-top: 0;
}

/* Ẩn hoàn toàn thanh chân trang cuối (Absolute Footer) mặc định của Flatsome */
.absolute-footer {
  display: none !important;
}

h2 {
  line-height: 1.3;
}

.button-circle-text {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #0F172A;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  transition: 0.3s ease;
}

.button-circle-text i {
  width: 50px;
  height: 50px;
  border: 1px solid #0F172A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.fa-arrow-up-right::before {
  content: "\e09f";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif;
  font-weight: 900;
}

.project-area .page-box .box-text,
.service-area .page-box .box-text {
  margin-bottom: 10px;
  line-height: 34px;
  transition: 0.3s ease;
  font-size: 22px;
  font-weight: 700;
}

.project-area a:hover .dark p,
.service-area a:hover .dark p {
  color: #E52B38;
}

/* Footer */
.product-footer {
  display: block;
  overflow: auto;
}

.footer-wrapper .icon-box-text h3 {
  margin-bottom: 0px;
}

.footer-wrapper {
  position: relative;
  width: 100%;
  font-size: 90%;
  background-color: #0f1c30;
  color: #cbd5e1;
}

/* =======================================================
   5. HEADER DANH MỤC HIỆN ĐẠI & CHUẨN SEO
   ======================================================= */
.modern-archive-header {
  padding: 40px 0 25px 0;
  background: transparent;
}

.archive-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.archive-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  text-transform: capitalize;
  line-height: 1.25;
}

.archive-title-divider {
  width: 48px;
  height: 3.5px;
  background: #E52B38;
  margin: 0 auto 18px auto;
  border-radius: 2px;
}

.archive-description {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  margin: 0 auto;
}

.archive-description p:last-child {
  margin-bottom: 0;
}

/* =======================================================
   6. BÀI VIẾT CHI TIẾT & SIDEBAR CƠ BẢN
   ======================================================= */
.entry-category a {
  color: #E52B38 !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.entry-meta {
  color: #64748B;
  font-size: 13px;
  margin-bottom: 20px;
}

.article-inner .entry-image img {
  border-radius: 10px;
}

.sidebar-inner .searchform input[type="search"] {
  border-radius: 6px 0 0 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.sidebar-inner .searchform button {
  background-color: #E52B38 !important;
  border-radius: 0 6px 6px 0;
}

/* Ẩn badge ngày tháng trên ảnh bài viết */
.post-item .box-image .badge,
.post-item .box-image .post-date,
.article-inner .entry-image .badge,
.article-inner .entry-image .post-date {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.sidebar-inner .widget_recent_entries img,
.sidebar-inner .recent-posts-widgets img,
.sidebar-inner ul li img,
.sidebar-inner .badge img {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* =======================================================
   7. CARD BÀI VIẾT NGOÀI TRANG BLOG / CHUYÊN MỤC
   ======================================================= */
.blog-archive .post-item .box,
.category .post-item .box,
.post-item .box-blog-post {
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-archive .post-item .box:hover,
.category .post-item .box:hover,
.post-item .box-blog-post:hover {
  border-color: rgba(255, 87, 34, 0.4) !important;
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.12), 0 3px 8px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-3px);
}

.post-item .box .box-image {
  padding: 0 !important;
  margin: 0 !important;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.post-item .box .box-image img {
  width: 100%;
  display: block;
  margin: 0 !important;
  transition: transform 0.4s ease;
}

.post-item .box:hover .box-image img {
  transform: scale(1.04);
}

.post-item .box .box-text {
  padding: 16px 18px !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-item .box .box-text .post-title,
.blog-archive .post-item .box-text .post-title,
.category .post-item .box-text .post-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #0F172A !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.post-item .box .box-text .post-title a:hover {
  color: #E52B38 !important;
}

.post-item .box .box-text p {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
}

/* Ẩn danh mục & meta ở chân bài viết */
.post-item .box .post-meta,
.post-item .box .from-the-blog-post-meta,
.blog-archive .post-item .entry-meta,
.category .post-item .entry-meta,
.post-item .box .cat-label,
.post-item .box-text .post-category,
.post-item .box-text .is-divider {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.custom-readmore-wrap {
  margin-top: auto !important;
  padding-top: 8px;
}

.custom-readmore-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
  font-weight: 700;
  color: #E52B38 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease;
}

.custom-readmore-btn i {
  font-size: 11px;
}

.post-item:hover .custom-readmore-btn {
  gap: 10px;
}

/* =======================================================
   8. PHÂN CẤP DANH MỤC SẢN PHẨM Ở SIDEBAR
   ======================================================= */
.product-categories > li > a,
.widget_product_categories > ul > li > a,
.widget_nav_menu > div > ul > li > a {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  padding: 8px 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em !important;
  transition: color 0.2s ease !important;
}

.product-categories > li > a:hover,
.widget_product_categories > ul > li > a:hover {
  color: #E52B38 !important;
}

.widget_product_categories li::after,
.widget_product_categories li a::after,
.product-categories li::after,
.product-categories li a::after,
.widget_nav_menu li::after,
.widget_nav_menu li a::after,
.nav-vertical li::after,
.nav-vertical li a::after {
  font-family: "fl-icons" !important;
  font-style: normal !important;
  font-weight: normal !important;
}

.widget_product_categories > ul > li > a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: #E52B38;
  width: 18px;
  display: inline-block;
  text-align: center;
}

.product-categories ul.children,
.widget_product_categories ul.children,
.widget_nav_menu ul.sub-menu {
  margin-top: 4px !important;
  margin-bottom: 8px !important;
  margin-left: 18px !important;
  padding-left: 12px !important;
  border-left: 2px solid #e2e8f0 !important;
}

.product-categories ul.children li a,
.widget_product_categories ul.children li a,
.widget_nav_menu ul.sub-menu li a {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  padding: 5px 0 !important;
  display: block !important;
  line-height: 1.4 !important;
  transition: all 0.2s ease !important;
}

.product-categories ul.children li a:hover,
.widget_product_categories ul.children li a:hover,
.widget_nav_menu ul.sub-menu li a:hover {
  color: #E52B38 !important;
  padding-left: 4px !important;
}

/* =======================================================
   9. HỆ THỐNG BẢO HÀNH ĐIỆN TỬ Ô TÔ MORCAR (DIGITAL CARD)
   ======================================================= */
.morcar-warranty-wrap, .otohome-warranty-wrap {
  max-width: 680px;
  margin: 30px auto;
  font-family: inherit;
}

.morcar-search-box, .otohome-search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 35px;
}

.morcar-search-box, .otohome-search-box input {
  flex: 1;
  height: 50px;
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}

.morcar-search-box, .otohome-search-box input:focus {
  border-color: #E52B38 !important;
  outline: none;
}

.morcar-search-box, .otohome-search-box button {
  background: #E52B38 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 24px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  height: 50px !important;
  line-height: 50px !important;
  transition: background 0.25s ease !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}

.morcar-search-box, .otohome-search-box button i,
.morcar-search-box, .otohome-search-box button span {
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.morcar-search-box, .otohome-search-box button:hover {
  background: #e64a19 !important;
}

/* THẺ BẢO HÀNH Ô TÔ DIGITAL VIP CARD */
.morcar-card, .otohome-card {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.586 / 1;
  min-height: 260px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 22px 24px;
  color: #fff;
  position: relative;
  box-shadow: 0 16px 36px rgba(15, 28, 48, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;
}

/* Hạng thẻ ô tô */
.morcar-tier-standard, .otohome-tier-standard {
  background: linear-gradient(135deg, #0F172A 0%, #0d1e35 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.morcar-tier-vip, .otohome-tier-vip {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #8c6508 100%);
  color: #fff;
  border: 1.5px solid rgba(255, 215, 0, 0.4);
}

.morcar-tier-diamond, .otohome-tier-diamond {
  background: linear-gradient(135deg, #09101d 0%, #0F172A 70%, #E52B38 150%);
  border: 1.5px solid rgba(255, 87, 34, 0.5);
}

.morcar-card-top, .otohome-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.morcar-card-brand, .otohome-card-brand {
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 15px;
  text-transform: uppercase;
  color: #ffffff;
}

.morcar-card-tier-badge, .otohome-card-tier-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.morcar-card-middle, .otohome-card-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

.morcar-card-chip, .otohome-card-chip {
  font-size: 34px;
  color: #ffd700;
  opacity: 0.95;
}

/* Biển số xe nổi bật trên thẻ */
.morcar-plate-badge, .otohome-plate-badge {
  background: #ffffff;
  color: #0F172A;
  font-family: 'Plus Jakarta Sans', 'Inter', monospace, sans-serif;
  font-size: 18px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1.5px solid #0F172A;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.morcar-card-name, .otohome-card-name {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.morcar-card-vehicle, .otohome-card-vehicle {
  font-size: 13.5px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.morcar-card-details, .otohome-card-details {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  opacity: 0.85;
}

.morcar-card-footer, .otohome-card-footer {
  margin-top: 16px;
}

.morcar-card-footer, .otohome-card-footer button {
  width: 100%;
  background: #0F172A !important;
  color: #ffffff !important;
  border: 1.5px solid #C5A880 !important;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(27, 54, 93, 0.25);
  box-sizing: border-box !important;
}
.morcar-card-footer, .otohome-card-footer button:hover {
  background: #0B132B !important;
  border-color: #D4AF37 !important;
  color: #D4AF37 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(27, 54, 93, 0.35);
}

/* POPUP MODAL */
.morcar-modal, .otohome-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 43, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999999 !important;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.morcar-modal-content, .otohome-modal-content {
  text-align: left !important;
  background: #ffffff !important;
  opacity: 1 !important;
  padding: 30px;
  border-radius: 16px !important;
  max-width: 780px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid #e2e8f0 !important;
}

.morcar-close, .otohome-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
  color: #64748b;
  transition: color 0.2s;
}

.morcar-close, .otohome-close:hover {
  color: #E52B38;
}

.morcar-no-result, .otohome-no-result {
  text-align: center;
  padding: 35px 20px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 10px;
  color: #991b1b;
}

.morcar-btn-print, .otohome-btn-print {
  background: #0F172A;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.morcar-btn-print, .otohome-btn-print:hover {
  background: #E52B38;
}

/* =======================================================
   10. MẪU PHIẾU BẢO HÀNH Ô TÔ KHỔ A4 CHUYÊN NGHIỆP
   ======================================================= */
.morcar-print-paper, .otohome-print-paper {
  text-align: left !important;
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 40px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.morcar-doc-header, .otohome-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.morcar-doc-brand, .otohome-doc-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.morcar-doc-logo, .otohome-doc-logo {
  max-height: 52px !important;
  max-width: 160px !important;
  object-fit: contain;
}

.morcar-brand-name, .otohome-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: 0.5px;
}

.morcar-brand-slogan, .otohome-brand-slogan {
  font-size: 12px;
  color: #64748B;
  margin: 2px 0 0 0;
}

.morcar-doc-contact, .otohome-doc-contact {
  text-align: right;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.5;
}

.morcar-doc-contact, .otohome-doc-contact p { margin: 0; }

.morcar-divider-thick, .otohome-divider-thick {
  height: 3px;
  background: linear-gradient(to right, #E52B38, #0F172A);
  margin-bottom: 22px;
  border-radius: 2px;
}

.morcar-doc-title, .otohome-doc-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.morcar-doc-date, .otohome-doc-date {
  text-align: center;
  font-size: 12px;
  color: #64748B;
  margin-bottom: 24px;
}

.morcar-info-grid, .otohome-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.morcar-info-grid, .otohome-info-grid {
  text-align: left !important;
}

.morcar-info-box, .otohome-info-box {
  text-align: left !important;
}

.morcar-info-row, .otohome-info-row {
  font-size: 13.5px;
  margin-bottom: 8px;
  color: #1E293B;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.morcar-info-row, .otohome-info-row:last-child { margin-bottom: 0; }

.morcar-info-row, .otohome-info-row span {
  color: #64748B;
  display: inline-block;
  min-width: 115px !important;
  text-align: left !important;
}

.morcar-info-row, .otohome-info-row strong {
  text-align: left !important;
  color: #0f172a;
}

.morcar-badge-tier, .otohome-badge-tier {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.morcar-badge-diamond, .otohome-badge-diamond { background: #0F172A; color: #fff; }
.morcar-badge-vip, .otohome-badge-vip { background: #d4af37; color: #fff; }
.morcar-badge-standard, .otohome-badge-standard { background: #0284c7; color: #fff; }

.morcar-doc-table, .otohome-doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.morcar-doc-table, .otohome-doc-table th {
  background: #f1f5f9;
  color: #0F172A;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
}

.morcar-doc-table, .otohome-doc-table td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  color: #334155;
}

.morcar-code-box, .otohome-code-box {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: #0F172A;
  font-weight: 600;
}

.morcar-terms-note, .otohome-terms-note {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 30px;
  border-left: 3px solid #E52B38;
  padding-left: 12px;
  text-align: left !important;
}

.morcar-terms-note, .otohome-terms-note p {
  text-align: left !important;
  margin: 0 !important;
}

.morcar-doc-signatures, .otohome-doc-signatures {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 20px;
  padding: 0 30px;
}

.morcar-sign-col, .otohome-sign-col strong {
  font-size: 13px;
  color: #0F172A;
  display: block;
}

.morcar-sign-col, .otohome-sign-col p {
  font-size: 11.5px;
  color: #64748B;
  margin: 3px 0 60px 0;
}

.morcar-stamp-box, .otohome-stamp-box {
  display: inline-block;
  border: 2px dashed #E52B38;
  padding: 6px 14px;
  border-radius: 6px;
  color: #E52B38;
  font-weight: 800;
  transform: rotate(-6deg);
  opacity: 0.9;
}

.morcar-stamp-inner, .otohome-stamp-inner span { display: block; font-size: 12px; }
.morcar-stamp-inner, .otohome-stamp-inner small { font-size: 9px; letter-spacing: 1px; }

/* =======================================================
   11. BẢN IN & XUẤT FILE PDF (@media print)
   ======================================================= */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm 15mm 15mm;
  }

  /* Khi in qua morcarPrintWarrantyCard: ẩn tất cả trừ bản sao #morcar-print-clone-area */
  body.morcar-printing-active > *:not(#morcar-print-clone-area) {
    display: none !important;
  }

  body.morcar-printing-active #morcar-print-clone-area {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
    color: #000000 !important;
    visibility: visible !important;
    text-align: left !important;
  }

  body.morcar-printing-active #morcar-print-clone-area * {
    visibility: visible !important;
  }

  /* Khi in trực tiếp Ctrl+P */
  header, footer, #header, #footer, .header-wrapper, .footer-wrapper,
  .breadcrumbs, nav, #wpadminbar,
  .morcar-search-box, .otohome-search-box, .morcar-card, .otohome-card, .morcar-close, .otohome-close, .morcar-print-actions, .otohome-print-actions,
  .morcar-insurance-cert-card, .otohome-insurance-cert-card, .mc-fee-table-wrap, .mc-fee-table, .mc-step-card {
    display: none !important;
  }

  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .morcar-modal, .otohome-modal {
    display: none !important;
  }

  .morcar-modal, .otohome-modal[style*="display: flex"],
  .morcar-modal, .otohome-modal[style*="display: block"] {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  .morcar-modal-content, .otohome-modal-content,
  .morcar-print-paper, .otohome-print-paper {
    position: static !important;
    display: block !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    background: #ffffff !important;
    text-align: left !important;
  }

  .morcar-doc-header, .otohome-doc-header {
    border-bottom: 2px solid #0F172A !important;
    padding-bottom: 10px !important;
    margin-bottom: 15px !important;
  }

  .morcar-doc-table, .otohome-doc-table {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: auto !important;
  }

  .morcar-doc-table, .otohome-doc-table tr {
    page-break-inside: avoid !important;
    page-break-after: auto !important;
  }

  .morcar-doc-table, .otohome-doc-table th {
    background: #0F172A !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .morcar-terms-note, .otohome-terms-note {
    page-break-inside: avoid !important;
    text-align: left !important;
  }

  .morcar-doc-signatures, .otohome-doc-signatures {
    page-break-inside: avoid !important;
    text-align: center !important;
  }
}

/* =======================================================
   12. MỤC LỤC BÀI VIẾT RANK MATH
   ======================================================= */
.header-nav .header-button a.button::before,
.header-button a.button[href*="kiem-tra-bao-hanh"]::before,
.header-button a.button[href*="tra-cuu-bao-hanh"]::before {
  content: "\f3ed" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
  margin-right: 7px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  vertical-align: -1px;
}

.rank-math-block,
#rank-math-toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #E52B38;
  border-radius: 8px;
  padding: 14px 20px !important;
  margin: 20px 0 !important;
}

#rank-math-toc .toc-title,
.rank-math-block .toc-title {
  font-size: 15px !important;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

#rank-math-toc .toc-title i,
.rank-math-block .toc-title i {
  color: #E52B38;
  font-size: 14px;
}

#rank-math-toc ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

#rank-math-toc ul li {
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
}

#rank-math-toc ul li.toc-level-2 {
  font-size: 13.5px !important;
  font-weight: 600;
}

#rank-math-toc ul li.toc-level-3 {
  margin-left: 14px !important;
  font-size: 12.5px !important;
  font-weight: 400;
}

#rank-math-toc ul li a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}

#rank-math-toc ul li a:hover {
  color: #E52B38;
}

/* =======================================================
   13. BỘ NÚT BẤM & BẢO VỆ ICON FLATSOME / FONTAWESOME
   ======================================================= */
button:not(.icon):not(.product-lightbox-btn),
input[type="button"],
input[type="reset"],
input[type="submit"],
.button:not(.icon):not(.product-lightbox-btn):not([class*="icon-"]),
a.button:not(.icon):not(.product-lightbox-btn):not([class*="icon-"]),
.button > span:not([class*="icon"]):not([class*="fa"]),
a.button > span:not([class*="icon"]):not([class*="fa"]),
button > span:not([class*="icon"]):not([class*="fa"]),
.single-product .cart .single_add_to_cart_button,
.add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order,
.wpcf7-form-control-wrap .button,
.button-circle-text {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.product-lightbox-btn,
.product-lightbox-btn *,
.prev-next-product,
.prev-next-product *,
[class*="icon-"],
[class*="icon-"]::before,
[class^="icon-"],
[class^="icon-"]::before,
i.icon-expand,
i.icon-angle-left,
i.icon-angle-right {
  font-family: "fl-icons" !important;
  font-weight: normal !important;
  font-style: normal !important;
}

button [class*="fa-"],
.button [class*="fa-"],
a.button [class*="fa-"],
.social-icons,
.social-icons * {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", "fl-icons" !important;
  font-weight: normal !important;
}

.single-product .cart .single_add_to_cart_button,
.single-product form.cart button.button,
.add_to_cart_button,
a.button.add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order {
  background-color: #E52B38 !important;
  border-color: transparent !important;
  color: #ffffff !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  padding: 9px 20px !important;
  min-height: auto !important;
  line-height: 20px !important;
  border-radius: 6px !important;
  width: auto !important;
  display: inline-block !important;
  transition: all 0.25s ease !important;
}

.single-product .cart .single_add_to_cart_button:hover,
.single-product form.cart button.button:hover,
.add_to_cart_button:hover,
a.button.add_to_cart_button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
#place_order:hover {
  background-color: #e64a19 !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35) !important;
}

/* Đồng bộ nút Chiêm ngưỡng kiệt tác tone Vàng Gold */
.bespoke-cta-gold,
a[href*="kiet-tac"],
.header-hero a.button.is-link {
  color: #D4AF37 !important;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* =======================================================
   14. KHUNG TÌM KIẾM LIVE SEARCH FLATSOME
   ======================================================= */
.header-search-form .autocomplete-suggestions {
  width: 380px !important;
  left: auto !important;
  right: 0 !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 8px 0 !important;
}

.header-search-form .autocomplete-suggestion {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  cursor: pointer !important;
}

.header-search-form .autocomplete-suggestion:hover {
  background-color: #f8fafc !important;
}

.header-search-form .autocomplete-suggestion .search-price {
  color: #E52B38 !important;
  font-weight: 700 !important;
}

/* Đổi màu nút Tìm kiếm trên Header sang tone Vàng Gold đồng bộ */
.header-main .header-search-form button.button {
  background-color: #C5A880 !important;
  border-color: #C5A880 !important;
  color: #ffffff !important;
}
.header-main .header-search-form button.button:hover {
  background-color: #b39366 !important;
}

/* =======================================================
   15. ĐỒNG BỘ CONTACT FORM 7
   ======================================================= */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #E52B38 !important;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"],
.wpcf7-submit {
  background-color: #E52B38 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  height: 44px !important;
  line-height: 44px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
  background-color: #e64a19 !important;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35) !important;
}

/* =======================================================
   16. MEGA MENU MORCAR & DROPDOWN
   ======================================================= */
.nav-dropdown,
.nav-dropdown-full,
.header-nav .nav-dropdown,
.stuck .nav-dropdown,
.has-transparent .nav-dropdown,
.nav-dropdown-has-arrow {
  background-color: #0B132B !important;
  opacity: 1 !important;
  z-index: 99999 !important;
  border-top: 3px solid #D4AF37 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
}

.ux-menu-title::after {
  content: "" !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 0 !important;
  width: 26px !important;
  height: 2px !important;
  background-color: #E52B38 !important;
}

.ux-menu-link a:hover {
  color: #E52B38 !important;
}

/* =======================================================
   17. MINI CART DROPDOWN
   ======================================================= */
.widget_shopping_cart_content .return-to-shop a.button {
  background-color: #E52B38 !important;
}

.widget_shopping_cart_content .return-to-shop a.button:hover {
  background-color: #e64a19 !important;
}

/* =======================================================
   18. HỆ THỐNG TYPOGRAPHY CHUẨN TRÊN DESKTOP (> 850px)
   ======================================================= */
.single-product h1.product-title,
.single-product .product-info .product-title,
.single-post h1.entry-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
}

.products .name.product-title a:hover,
.product-small .box-text .name a:hover {
  color: #E52B38 !important;
}

.product-small .price-wrapper .price,
.product-small .price {
  color: #0F172A !important;
}

.single-product .product-info .is-divider,
.single-post .entry-header .is-divider,
#secondary .is-divider {
  background-color: #E52B38 !important;
  height: 3px !important;
  width: 36px !important;
}

/* =======================================================
   19. HỢP NHẤT TOÀN DIỆN CHO MOBILE & TABLET (< 850px)
   ======================================================= */
@media (max-width: 849px) {
  body {
    font-size: 15px !important;
  }

  .single-product h1.product-title,
  .single-post h1.entry-title {
    font-size: 19px !important;
  }

  .category-filter-row a:active,
  .filter-button:active,
  a[data-open="#shop-sidebar"]:active {
    border-color: #E52B38 !important;
    color: #E52B38 !important;
  }

  .mobile-sidebar .nav-sidebar > li > a i {
    color: #E52B38 !important;
  }
}

/* =======================================================
   20. TỐI ƯU TRANG GIỎ HÀNG & THANH TOÁN (CHECKOUT)
   ======================================================= */
.cart_totals .wc-proceed-to-checkout a.checkout-button,
#place_order {
  background-color: #E52B38 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
#place_order:hover {
  background-color: #e64a19 !important;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4) !important;
}


/* =======================================================
   21. WIDGET ĐẶT MUA BẢO HIỂM Ô TÔ BẮT BUỘC ONLINE
   ======================================================= */
.morcar-insurance-card, .otohome-insurance-card {
  max-width: 650px;
  margin: 30px auto;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(27, 54, 93, 0.08);
}

.morcar-ins-header, .otohome-ins-header {
  background: linear-gradient(135deg, #0F172A 0%, #0f1c30 100%);
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

.morcar-ins-header, .otohome-ins-header h3 {
  color: #ffffff !important;
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}

.morcar-ins-header, .otohome-ins-header p {
  color: #94a3b8;
  font-size: 13.5px;
  margin: 0;
}

.morcar-ins-body, .otohome-ins-body {
  padding: 25px;
}

.morcar-ins-row, .otohome-ins-row {
  margin-bottom: 16px;
}

.morcar-ins-row, .otohome-ins-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.morcar-ins-row, .otohome-ins-row select,
.morcar-ins-row, .otohome-ins-row input {
  width: 100% !important;
  height: 46px !important;
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 0 14px !important;
  font-size: 14.5px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease;
}

.morcar-ins-row, .otohome-ins-row select:focus,
.morcar-ins-row, .otohome-ins-row input:focus {
  border-color: #E52B38 !important;
  outline: none;
}

.morcar-ins-grid-2, .otohome-ins-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 600px) {
  .morcar-ins-grid-2, .otohome-ins-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.morcar-ins-fee-box, .otohome-ins-fee-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

.morcar-fee-label, .otohome-fee-label {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
}

.morcar-fee-val, .otohome-fee-val {
  font-size: 22px;
  font-weight: 800;
  color: #E52B38;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.morcar-ins-btn, .otohome-ins-btn {
  width: 100%;
  height: 48px;
  background-color: #E52B38 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.morcar-ins-btn, .otohome-ins-btn:hover {
  background-color: #e64a19 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.45);
}


/* =======================================================
   22. ĐỒNG BỘ CHIỀU RỘNG HEADER BẰNG CHÂN TRANG 1.240PX
   ======================================================= */
#masthead .header-inner,
.header-main .header-inner,
.header-top .header-inner,
.header-bottom .header-inner {
    max-width: 1240px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}


/* =======================================================
   23. HỆ THỐNG GIAO DIỆN LANDING PAGE CHUẨN MORCAR 2026
   (Khung chứa 1.240px, Lề thoáng Mobile 12px & Bảng biểu co giãn cảm ứng)
   ======================================================= */

/* 23.1. Triệt tiêu khoảng đệm cộng dồn của các khung cha Flatsome */
.term-description,
.shop-container .category-page-row,
.shop-container .category-page-row > .col,
.page-wrapper > .row-main,
.page-wrapper > .row-main > .col {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* 23.2. Khung chứa chuẩn Boxed 1.240px trên Desktop (>= 850px) */
@media (min-width: 850px) {
    .mc-landing-page .section-content,
    .lmc12-leather-page .section-content,
    .lmc28-pricing-page .section-content,
    .lmc04-gallery-page .section-content,
    .lmc20-fengshui-page .section-content {
        width: 100% !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    .mc-landing-page .row,
    .lmc12-leather-page .row,
    .lmc28-pricing-page .row,
    .lmc04-gallery-page .row,
    .lmc20-fengshui-page .row {
        width: 100% !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* 23.3. Hiệu ứng tương tác thẻ dịch vụ & bảng biểu */
.mc-leather-tier-card:hover,
.mc-pricing-card:hover,
.mc-standard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(27, 54, 93, 0.12) !important;
    border-color: #D4AF37 !important;
}

.mc-style-card:hover img,
.mc-leather-card:hover img {
    transform: scale(1.03);
}

.mc-pricing-table tbody tr:hover td {
    background: #f8fafc !important;
}

/* 23.4. QUY CHUẨN LỀ THOÁNG 12PX CHUẨN XÁC TRÊN MOBILE & TABLET (<= 849px) */
@media (max-width: 849px) {
    /* 1. Triệt tiêu hoàn toàn padding lề của Section ngoài */
    .mc-landing-page,
    .lmc12-leather-page,
    .lmc28-pricing-page,
    .lmc04-gallery-page,
    .lmc20-fengshui-page {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* 2. Thiết lập DUY NHẤT khoảng đệm lề 12px chuẩn tại container section-content */
    .mc-landing-page .section-content,
    .lmc12-leather-page .section-content,
    .lmc28-pricing-page .section-content,
    .lmc04-gallery-page .section-content,
    .lmc20-fengshui-page .section-content {
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Khung row chiếm trọn vẹn 100% chiều rộng section-content, không bị thụt lề */
    .mc-landing-page .row,
    .lmc12-leather-page .row,
    .lmc28-pricing-page .row,
    .lmc04-gallery-page .row,
    .lmc20-fengshui-page .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 4. Triệt tiêu hoàn toàn padding cột của các khối xếp chồng 100% (small-12)
          để đảm bảo khoảng cách từ mép màn hình đến cạnh card/nội dung CHÍNH XÁC LÀ 12PX */
    .mc-landing-page .col,
    .lmc12-leather-page .col,
    .lmc28-pricing-page .col,
    .lmc04-gallery-page .col,
    .lmc20-fengshui-page .col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 5. Tối ưu lề trong (padding) của các Card trên Mobile: Chống co rúm nội dung */
    .mc-booking-card {
        padding: 22px 14px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .mc-booking-card .mc-booking-badge {
        font-size: 10.5px !important;
        padding: 3px 10px !important;
    }

    .mc-booking-btn-zalo {
        font-size: 13px !important;
        padding: 0 10px !important;
        height: 48px !important;
        letter-spacing: 0.2px !important;
    }

    .mc-leather-tier-card,
    .mc-style-card > div,
    .mc-landing-page .col > div:not(.row):not(.mc-element-card),
    .lmc12-leather-page .col > div:not(.row) {
        padding: 18px 14px !important;
        box-sizing: border-box !important;
    }

    /* Triệt tiêu lỗi bó hẹp nội dung trên Mobile cho hệ thống thẻ ngũ hành .mc-element-card */
    .mc-element-card {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .mc-element-card .mc-element-card-body,
    .mc-element-card-body {
        padding: 18px 14px !important;
    }

    .mc-element-card h3 {
        font-size: 16.5px !important;
        line-height: 1.35 !important;
    }

    /* 6. Bảng biểu trượt ngang cảm ứng & Cố định cột 1 */
    .mc-table-scroll-hint {
        display: flex !important;
    }

    .mc-table-responsive {
        border-radius: 10px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .mc-pricing-table th, 
    .mc-pricing-table td {
        padding: 12px 10px !important;
        font-size: 13px !important;
    }

    .mc-pricing-table th:first-child,
    .mc-pricing-table td:first-child {
        position: sticky !important;
        left: 0 !important;
        z-index: 3 !important;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08) !important;
    }

    .mc-pricing-table th:first-child {
        background: #0F172A !important;
        z-index: 4 !important;
    }

    .mc-pricing-table td:first-child {
        background: #ffffff !important;
    }
}

/* 23.5. Đồng bộ cỡ chữ thẻ quy trình và nội dung card (Chống lỗi chênh lệch cỡ chữ wpautop) */
.mc-landing-page .col > div p,
.lmc12-leather-page .col > div p,
.mc-element-card p,
.mc-vf3-card p,
.mc-color-box p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #64748B !important;
}


/* 23.6. KHẮC PHỤC TRIỆT ĐỂ LỖI ĐƯỜNG KẺ DIVIDER BỊ PHÌNH THÀNH HÌNH VUÔNG VÀNG (WPAUTOP BUG) */
.mc-landing-page div[style*="height: 2px"],
.lmc12-leather-page div[style*="height: 2px"],
.lmc28-pricing-page div[style*="height: 2px"],
.mc-hero-divider {
    height: 2px !important;
    max-height: 2px !important;
    line-height: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: content-box !important;
}
.mc-landing-page div[style*="height: 2px"] *,
.lmc12-leather-page div[style*="height: 2px"] *,
.lmc28-pricing-page div[style*="height: 2px"] * {
    display: none !important;
}

/* 23.7. TỐI ƯU CỠ CHỮ TIÊU ĐỀ H1, H2 VÀ NHÃN HERO BADGE TRÊN MOBILE (< 850px) */
@media (max-width: 849px) {
    .mc-landing-page h1,
    .lmc12-leather-page h1,
    .lmc28-pricing-page h1 {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
        text-wrap: balance !important;
    }

    .mc-landing-page h2,
    .lmc12-leather-page h2,
    .lmc28-pricing-page h2 {
        font-size: 1.55rem !important;
        line-height: 1.35 !important;
    }



    /* Đảm bảo khoảng cách đệm đầu trang Hero không bị Header che mất chữ */
    .mc-landing-page:first-child,
    .lmc12-leather-page:first-child,
    .lmc28-pricing-page:first-child {
        padding-top: 45px !important;
    }
}


/* 23.8. HỆ THỐNG CARD ĐẶC THÙ PHỤC HỒI & SPA NỘI THẤT (LMC09) */
.mc-spa-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.mc-spa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(27, 54, 93, 0.12) !important;
    border-color: #D4AF37 !important;
}
.mc-spa-box {
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 22px 18px;
    height: 100%;
    transition: all 0.25s ease;
}
.mc-spa-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 54, 93, 0.08);
    border-color: #D4AF37;
}
.mc-step-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0F172A;
    color: #D4AF37;
    font-weight: 800;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 2px solid #D4AF37;
}

/* ===================================================================
   24. CẤU HÌNH GIAO DIỆN FORM ĐẶT LỊCH & KHẢO SÁT XE CHUẨN ĐẸP (MORCAR 2026)
   =================================================================== */
/* Khung chứa Form đặt lịch sang trọng */
.mc-booking-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 32px 26px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Badge nhận diện trên đầu Form */
.mc-booking-badge {
    background: rgba(212, 175, 55, 0.12) !important;
    color: #B38E22 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    height: 28px !important;
    line-height: 1 !important;
    padding: 0 14px !important;
    border-radius: 99px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    margin-bottom: 8px !important;
}

/* Tiêu đề & thanh gạch ngang Form */
.mc-booking-title {
    color: #0F172A !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    margin: 8px 0 6px 0 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.3 !important;
}
.mc-booking-divider {
    width: 45px !important;
    height: 3px !important;
    background: #D4AF37 !important;
    border-radius: 2px !important;
    margin: 8px 0 12px 0 !important;
}
.mc-booking-desc {
    color: #64748B !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

/* Các ô nhập liệu (Input & Select) - Triệt tiêu lỗi bị cắt chữ */
.mc-booking-card input[type=text],
.mc-booking-card input[type=tel],
.mc-booking-card input[type=email],
.mc-booking-card select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    margin-bottom: 14px !important;
    line-height: 46px !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

.mc-booking-card select {
    line-height: normal !important;
    height: 48px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    color: #334155 !important;
    cursor: pointer !important;
}

.mc-booking-card input:focus,
.mc-booking-card select:focus {
    background: #ffffff !important;
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18) !important;
    outline: none !important;
}

/* Nút bấm CTA Vàng Kim sang trọng mở Zalo */
.mc-booking-btn-zalo {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A880 100%) !important;
    color: #0B132B !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    height: 50px !important;
    padding: 0 24px !important;
    border: none !important;
    width: 100% !important;
    justify-content: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35) !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    margin-top: 6px !important;
}
.mc-booking-btn-zalo:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.5) !important;
    color: #000000 !important;
}

/* Dòng cam kết bảo mật phía dưới */
.mc-booking-security {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 14px !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    text-align: center !important;
}
.mc-booking-security i {
    color: #34d399 !important;
    font-size: 13px !important;
}

/* =======================================================
   CHUẨN HÓA TIÊU ĐỀ SẢN PHẨM WOOCOMMERCE (MONTSERRAT 600)
   ======================================================= */
.products .product-title a, 
.product-small .box-text .name a,
.woocommerce-loop-product__title {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  color: #0F172A !important;
  transition: color 0.2s ease;
}

.products .product-title a:hover, 
.product-small .box-text .name a:hover {
  color: #E52B38 !important;
}

/* =======================================================
   MÔ PHỎNG GIẤY BẢO HIỂM TNDS BẮT BUỘC ĐIỆN TỬ (e-Certificate)
   ======================================================= */
.morcar-insurance-cert-card, .otohome-insurance-cert-card {
  width: 100%;
  max-width: 460px;
  margin: 22px auto 0 auto;
  background: #ffffff;
  border: 1.5px solid #0284c7;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
  overflow: hidden;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  position: relative;
}

.morcar-ins-cert-header, .otohome-ins-cert-header {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.morcar-ins-cert-brand, .otohome-ins-cert-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.morcar-ins-cert-badge, .otohome-ins-cert-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.morcar-ins-cert-body, .otohome-ins-cert-body {
  padding: 18px 20px;
}

.morcar-ins-cert-title, .otohome-ins-cert-title {
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #0369a1;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  letter-spacing: 0.5px;
}

.morcar-ins-cert-grid, .otohome-ins-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  font-size: 12.5px;
  margin-bottom: 14px;
}

.morcar-ins-cert-row, .otohome-ins-cert-row {
  display: flex;
  flex-direction: column;
}

.morcar-ins-cert-label, .otohome-ins-cert-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.morcar-ins-cert-value, .otohome-ins-cert-value {
  font-weight: 700;
  color: #0f172a;
}

.morcar-ins-expiry-box, .otohome-ins-expiry-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  text-align: center;
}

.morcar-ins-expiry-date, .otohome-ins-expiry-date {
  font-size: 15px;
  font-weight: 800;
  color: #dc2626;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.morcar-ins-countdown-badge, .otohome-ins-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.morcar-ins-countdown-active, .otohome-ins-countdown-active {
  background: #dcfce7;
  color: #166534;
}

.morcar-ins-countdown-warning, .otohome-ins-countdown-warning {
  background: #fef3c7;
  color: #92400e;
}

.morcar-ins-countdown-expired, .otohome-ins-countdown-expired {
  background: #fee2e2;
  color: #991b1b;
}

.morcar-ins-cert-footer, .otohome-ins-cert-footer {
  border-top: 1px solid #e2e8f0;
  padding: 12px 18px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.morcar-ins-zalo-btn, .otohome-ins-zalo-btn {
  background: #0068ff !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.morcar-ins-zalo-btn, .otohome-ins-zalo-btn:hover {
  background: #0054d1 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ===================================================================
   CẤU HÌNH ĐẶC THÙ TRANG CỔNG TRA CỨU BẢO HÀNH & TIỆN ÍCH XE (LMC36)
   =================================================================== */
.mc-utility-header {
    background: linear-gradient(135deg, #0B132B 0%, #0F172A 100%);
    border-radius: 16px;
    padding: 45px 25px 40px 25px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 15px 35px rgba(11, 19, 43, 0.15);
}
.mc-utility-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(52, 211, 153, 0.15) !important;
    border: 1px solid rgba(52, 211, 153, 0.4) !important;
    color: #34d399 !important;
    font-size: clamp(11px, 2.5vw, 12.5px) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    height: 32px !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    border-radius: 99px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    margin-bottom: 14px !important;
}
.mc-fee-table-wrap {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(27, 54, 93, 0.05);
    margin-bottom: 35px;
}
.mc-fee-table {
    width: 100% !important;
    min-width: 620px !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}
.mc-fee-table th {
    background: #0F172A !important;
    color: #ffffff !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
.mc-fee-table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13.5px !important;
    color: #334155 !important;
}
.mc-fee-table tr:hover td {
    background: #f8fafc !important;
}
.mc-fee-price {
    font-weight: 800 !important;
    color: #E52B38 !important;
    font-size: 14.5px !important;
    white-space: nowrap !important;
}
.mc-step-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 24px 18px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.25s ease;
}
.mc-step-card:hover {
    transform: translateY(-4px);
}
.mc-step-num {
    width: 44px;
    height: 44px;
    background: #0F172A;
    color: #34d399;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 14px auto;
    border: 2px solid #34d399;
}
@media (max-width: 768px) {
    .mc-utility-header {
        padding: 35px 18px 30px 18px;
        margin-bottom: 25px;
    }
    .mc-fee-table th, .mc-fee-table td {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }
}


/* ===================================================================
   QUY CHUẨN TRIỆT TIÊU LỖI CHỮ BỊ ĐÈ XUỐNG MÉP DƯỚI (ZERO BOTTOM SINKING)
   Áp dụng tuyệt đối cho mọi Badge, Tag, Pill và Nút bấm trên toàn web
   =================================================================== */
.mc-badge-pill,
.mc-utility-badge,
.mc-booking-badge,
.mc-hero-badge,
.mc-tag-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}
.mc-badge-pill > *,
.mc-utility-badge > *,
.mc-booking-badge > *,
.mc-hero-badge > *,
.mc-tag-pill > * {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* ===================================================================
   TRA CỨU BẢO HIỂM TNDS ONLINE & SỔ TAY XE HƠI ĐIỆN TỬ (THEME v4.9)
   =================================================================== */
.morcar-insurance-lookup-wrap, .otohome-insurance-lookup-wrap {
    width: 100%;
    margin: 0 auto;
}
.morcar-btn-cert, .otohome-btn-cert,
.morcar-ins-cert-view-btn, .otohome-ins-cert-view-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    transition: all 0.25s ease !important;
}
.morcar-btn-cert, .otohome-btn-cert:hover,
.morcar-ins-cert-view-btn, .otohome-ins-cert-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45) !important;
    color: #ffffff !important;
}
.morcar-btn-renew, .otohome-btn-renew {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    transition: all 0.25s ease !important;
}
.morcar-btn-renew, .otohome-btn-renew:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
    color: #ffffff !important;
}

/* ===================================================================
   TỐI ƯU GIAO DIỆN MOBILE TỐI ĐA (FULL WIDTH & KHÔNG RỚT DÒNG CHỮ - v5.0)
   =================================================================== */
.morcar-fee-val, .otohome-fee-val {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    font-size: clamp(17px, 4.2vw, 22px) !important;
}

.morcar-ins-fee-box, .otohome-ins-fee-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

.morcar-ins-btn, .otohome-ins-btn,
.morcar-btn-cert, .otohome-btn-cert,
.morcar-ins-cert-view-btn, .otohome-ins-cert-view-btn,
.morcar-btn-renew, .otohome-btn-renew,
.morcar-ins-zalo-btn, .otohome-ins-zalo-btn,
.morcar-card-footer, .otohome-card-footer button {
    white-space: nowrap !important;
    font-size: clamp(12.5px, 3.2vw, 14px) !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.morcar-ins-btn, .otohome-ins-btn > *,
.morcar-btn-cert, .otohome-btn-cert > *,
.morcar-ins-cert-view-btn, .otohome-ins-cert-view-btn > *,
.morcar-btn-renew, .otohome-btn-renew > *,
.morcar-ins-zalo-btn, .otohome-ins-zalo-btn > *,
.morcar-card-footer, .otohome-card-footer button > * {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

@media (max-width: 767px) {
    /* Mở rộng tối đa khung hiển thị sang 2 bên trên mobile */
    .mc-landing-page .row {
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .mc-landing-page .col {
        padding-left: 2px !important;
        padding-right: 2px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .mc-ins-outer-box {
        padding: 18px 8px !important;
        border-radius: 12px !important;
    }
    .morcar-insurance-card, .otohome-insurance-card,
    .morcar-insurance-cert-card, .otohome-insurance-cert-card,
    .morcar-card, .otohome-card,
    .morcar-insurance-lookup-wrap, .otohome-insurance-lookup-wrap,
    .morcar-vehicles-grid, .otohome-vehicles-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 12px !important;
    }
    .morcar-ins-cert-body, .otohome-ins-cert-body {
        padding: 15px 10px !important;
    }
    .morcar-ins-header, .otohome-ins-header {
        padding: 16px 12px !important;
    }
    .morcar-ins-body, .otohome-ins-body {
        padding: 16px 10px !important;
    }
    .morcar-ins-fee-box, .otohome-ins-fee-box {
        padding: 12px 10px !important;
    }
    .morcar-fee-label, .otohome-fee-label {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
    }
    .morcar-fee-val, .otohome-fee-val {
        font-size: 17px !important;
    }
    .morcar-ins-btn, .otohome-ins-btn {
        height: 44px !important;
        font-size: 13px !important;
        padding: 0 10px !important;
    }
    .morcar-btn-cert, .otohome-btn-cert,
    .morcar-ins-cert-view-btn, .otohome-ins-cert-view-btn,
    .morcar-btn-renew, .otohome-btn-renew,
    .morcar-ins-zalo-btn, .otohome-ins-zalo-btn {
        height: 42px !important;
        line-height: 42px !important;
        font-size: 12.5px !important;
        padding: 0 10px !important;
    }
}

/* ===================================================================
   CỨU HỘ GIAO THÔNG 24/7 & NỀN TẢNG CỘNG ĐỒNG MORCAR (THEME v5.2)
   =================================================================== */
.morcar-rescue-wrapper, .otohome-rescue-wrapper {
    width: 100%;
    margin: 0 auto;
}
.morcar-rescue-card, .otohome-rescue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 54, 93, 0.08) !important;
}

.mc-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    line-height: 1 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    border-radius: 99px !important;
    background: rgba(197, 168, 128, 0.12) !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    color: #D4AF37 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(11.5px, 2.5vw, 13px) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}
.mc-hero-badge > span,
.mc-hero-badge > * {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* =======================================================
   BẢNG CHÍNH SÁCH BẢO HÀNH CHÍNH HÃNG - RESPONSIVE 2026
   ======================================================= */
.mc-policy-desktop-table {
  display: block;
}
.mc-policy-mobile-cards {
  display: none;
}

@media (max-width: 767px) {
  .mc-policy-desktop-table {
    display: none !important;
  }
  .mc-policy-mobile-cards {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .mc-policy-desktop-table {
    display: block !important;
  }
  .mc-policy-mobile-cards {
    display: none !important;
  }
}

/* ===================================================================
   SECTION 24: QUY CHUẨN ĐỒNG BỘ TOÀN BỘ LANDING PAGE (ZERO IN-PAGE STYLE)
   Chuyển toàn bộ định dạng từ các Landing Page vào Child Theme
   =================================================================== */

/* 24.1. Khóa Cứng Nền Mega Menu & Dropdown Chống Lỗi Xuyên Thấu */
.nav-dropdown,
.nav-dropdown-full,
.header-nav .nav-dropdown,
.stuck .nav-dropdown,
.nav-dropdown-has-arrow,
#mega-menu-morcar-2026 {
    background-color: #0B132B !important;
    opacity: 1 !important;
    z-index: 99999 !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
}

/* 24.2. Hệ Thống Thẻ & Badge Dịch Vụ / Ngũ Hành (LMC20, LMC14, LMC12, LMC09...) */
.mc-element-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
.mc-element-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 28px rgba(27, 54, 93, 0.12) !important;
    border-color: #D4AF37 !important;
}
.mc-element-card-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}
.mc-element-card:hover .mc-element-card-img {
    transform: scale(1.04) !important;
}
.mc-element-card-body {
    padding: 24px 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
.mc-element-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 28px rgba(27, 54, 93, 0.12) !important;
    border-color: #D4AF37 !important;
}

/* CÔNG THỨC KHÓA CĂN GIỮA TUYỆT ĐỐI (ZERO-DRIFT) CHO TOÀN BỘ BADGES */
.mc-element-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    line-height: 1 !important;
    padding: 0 12px !important;
    gap: 6px !important;
    border-radius: 99px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}
.mc-element-badge > *,
.mc-element-badge i,
.mc-element-badge span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-element-badge.is-kim  { background: #fef3c7 !important; color: #92400e !important; border: 1px solid #fde68a !important; }
.mc-element-badge.is-moc  { background: #d1fae5 !important; color: #065f46 !important; border: 1px solid #a7f3d0 !important; }
.mc-element-badge.is-thuy { background: #e0f2fe !important; color: #0369a1 !important; border: 1px solid #bae6fd !important; }
.mc-element-badge.is-hoa  { background: #fee2e2 !important; color: #b91c1c !important; border: 1px solid #fecaca !important; }
.mc-element-badge.is-tho  { background: #ffedd5 !important; color: #c2410c !important; border: 1px solid #fed7aa !important; }

.mc-roof-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
.mc-roof-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 28px rgba(27, 54, 93, 0.12) !important;
    border-color: #D4AF37 !important;
}
.mc-roof-card img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}
.mc-roof-card:hover img {
    transform: scale(1.03) !important;
}
.mc-roof-info {
    padding: 22px 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.mc-reason-box {
    background: #F8FAFC !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 22px 18px !important;
    height: 100% !important;
    transition: all 0.25s ease !important;
}
.mc-reason-box:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(27, 54, 93, 0.08) !important;
    border-color: #D4AF37 !important;
}

/* 24.3. Thẻ Báo Giá Combo & Bước Quy Trình */
.mc-pricing-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 32px 24px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}
.mc-pricing-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 32px rgba(27, 54, 93, 0.12) !important;
    border-color: #D4AF37 !important;
}

.mc-step-badge {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #0F172A !important;
    color: #D4AF37 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    border: 2px solid #D4AF37 !important;
}

.mc-booking-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 36px 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* 24.4. Quy Chuẩn Đồng Bộ Bảng Biểu & Typography Trên Mobile */
@media (max-width: 768px) {
    .mc-landing-page h1 {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }
    .mc-landing-page h2 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }
    .mc-landing-page h3 {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }
    .mc-landing-page h4 {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    .mc-hero-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    .mc-section-desc {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }
    .mc-element-card {
        padding: 20px 16px !important;
    }
    .mc-pricing-card {
        padding: 24px 18px !important;
    }
    .mc-booking-card {
        padding: 22px 16px !important;
    }
    .mc-step-badge {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    .mc-table-scroll-hint {
        display: flex !important;
    }
    .mc-pricing-table th, 
    .mc-pricing-table td {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }
}

/* 24.5. Dải Ruy Băng Nổi Bật Thẻ Bảng Giá (Khóa Cứng Không Bao Giờ Rớt Dòng) */
.mc-pricing-ribbon {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #D4AF37 0%, #C5A880 100%) !important;
    color: #0B132B !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    height: 28px !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    border-radius: 99px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    width: max-content !important;
    min-width: max-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}
.mc-pricing-ribbon > * {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}


/* 25. KHẮC PHỤC TRIỆT ĐỂ LỖI RỚT TỪ ĐƠN ĐỘC (ORPHAN WORD) TRÊN TIÊU ĐỀ DESKTOP */
.mc-hero-title,
.mc-landing-page h1 {
    text-wrap: balance !important;
}


/* ===================================================================
   PHẦN ĐẶC THÙ HỆ THỐNG OTOHOME.VN (VERSION 1.0 - 2026)
   =================================================================== */

/* 1. MOBILE STICKY FOOTER BAR OTOHOME (4 NÚT HÀNH ĐỘNG CỐ ĐỊNH ĐÁY) */
.otohome-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 850px) {
  .otohome-sticky-bar { display: none !important; }
}

.otohome-sticky-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: #334155 !important;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--otohome-font-heading);
  flex: 1;
  padding: 4px 2px;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.otohome-sticky-item svg,
.otohome-sticky-item i {
  font-size: 18px;
  margin-bottom: 3px;
  transition: transform 0.2s ease;
}

.otohome-sticky-item.is-sos {
  color: #E52B38 !important;
  background: #FFF5F5;
}

.otohome-sticky-item.is-sos svg,
.otohome-sticky-item.is-sos i {
  color: #E52B38 !important;
  animation: pulse-sos 1.8s infinite;
}

@keyframes pulse-sos {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.otohome-sticky-item.is-insurance {
  color: #0F172A !important;
}

.otohome-sticky-item.is-insurance svg {
  color: #E52B38 !important;
}

/* 2. CÔNG CỤ TRA CỨU ĐÈN CẢNH BÁO TÁP-LÔ & MÃ LỖI OBD2 */
.otohome-warning-light-hub {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.otohome-tabs-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
}

.otohome-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--otohome-font-heading);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: #F8FAFC;
  color: #475569;
  transition: all 0.2s ease;
}

.otohome-tab-btn.is-active.tab-red {
  background: #E52B38;
  color: #FFFFFF;
}

.otohome-tab-btn.is-active.tab-amber {
  background: #F59E0B;
  color: #FFFFFF;
}

.otohome-tab-btn.is-active.tab-green {
  background: #10B981;
  color: #FFFFFF;
}

.otohome-lights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.otohome-light-card {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.otohome-light-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.otohome-light-card.is-danger {
  border-top: 4px solid #E52B38;
}

.otohome-light-card.is-warning {
  border-top: 4px solid #F59E0B;
}

.otohome-light-card.is-safe {
  border-top: 4px solid #10B981;
}

.otohome-light-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.otohome-light-name {
  font-family: var(--otohome-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: #0F172A;
  margin-bottom: 6px;
}

.otohome-light-action {
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
}

/* 3. SỔ BẢO DƯỠNG SỐ CÁ NHÂN & CHỨNG CHỈ LỊCH SỬ XE */
.otohome-carlog-wrapper {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0;
}

.otohome-car-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.otohome-plate-badge {
  display: inline-flex;
  align-items: center;
  background: #FEF08A;
  border: 2px solid #0F172A;
  color: #0F172A;
  font-family: var(--otohome-font-heading);
  font-weight: 800;
  font-size: 18px;
  padding: 4px 14px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  box-shadow: 2px 2px 0px #0F172A;
}

.otohome-timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 24px;
  border-left: 2px dashed #CBD5E1;
}

.otohome-timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.otohome-timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E52B38;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 2px #E52B38;
}

.otohome-timeline-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 16px;
}

.otohome-timeline-card .meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 8px;
}

.otohome-timeline-card .item-title {
  font-family: var(--otohome-font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #0F172A;
  margin-bottom: 6px;
}

.otohome-receipt-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #0284C7;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 8px;
}

/* 4. CỔNG MUA BẢO HIỂM TNDS ONLINE */
.otohome-insurance-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.otohome-insurance-box::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(229, 43, 56, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.otohome-insurance-title {
  font-family: var(--otohome-font-heading);
  font-weight: 800;
  font-size: 24px;
  color: #FFFFFF !important;
  margin-bottom: 12px;
}

.otohome-price-tag {
  display: inline-block;
  font-family: var(--otohome-font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #FEF08A;
}

/* 5. CỨU HỘ CAO TỐC & HOTLINE KHẨN CẤP */
.otohome-highway-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.otohome-highway-table th {
  background: #0F172A;
  color: #FFFFFF;
  font-family: var(--otohome-font-heading);
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
}

.otohome-highway-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #E2E8F0;
  vertical-align: middle;
}

.otohome-highway-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E52B38;
  color: #FFFFFF !important;
  font-family: var(--otohome-font-heading);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.otohome-highway-call-btn:hover {
  background: #C5222E;
  transform: translateY(-2px);
}


/* ===================================================================
   TỐI ƯU HÓA ĐẶC BIỆT GIAO DIỆN MOBILE & TABLET (MOBILE-FIRST STANDARD)
   =================================================================== */

/* 1. TRIỆT TIÊU LỖI CHE LẤP NỘI DUNG ĐÁY TRANG DO MOBILE STICKY BAR */
@media (max-width: 849px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
  
  /* Ẩn thanh mobile navigation mặc định của Flatsome để tránh xung đột đè 2 thanh đáy */
  .footer-mobile-nav, 
  .mobile-footer-nav,
  #mobile-footer-nav {
    display: none !important;
    visibility: hidden !important;
  }
}

/* 2. CHUẨN HÓA BẢNG BIỂU CUỘN CẢM ỨNG TRÊN MOBILE */
.otohome-table-responsive,
.mc-table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 16px 0 !important;
  position: relative !important;
  border-radius: 8px !important;
  border: 1px solid #E2E8F0 !important;
}

.otohome-table-responsive table,
.mc-table-responsive table {
  min-width: 580px !important;
  margin-bottom: 0 !important;
}

.otohome-table-scroll-hint,
.mc-table-scroll-hint {
  display: none;
  font-size: 11.5px;
  color: #64748B;
  text-align: right;
  margin-top: 4px;
  font-style: italic;
}

@media (max-width: 768px) {
  .otohome-table-scroll-hint,
  .mc-table-scroll-hint {
    display: block !important;
  }
}

/* 3. TỐI ƯU CÔNG CỤ TRA CỨU ĐÈN TÁP-LÔ TRÊN MOBILE */
@media (max-width: 768px) {
  .otohome-warning-light-hub {
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }
  
  .otohome-tabs-nav {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    margin-bottom: 14px !important;
  }
  
  .otohome-tab-btn {
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    flex-shrink: 0 !important;
  }
  
  .otohome-lights-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .otohome-light-card {
    padding: 14px 10px !important;
  }
  
  .otohome-light-icon {
    font-size: 26px !important;
    margin-bottom: 6px !important;
  }
  
  .otohome-light-name {
    font-size: 13px !important;
    margin-bottom: 4px !important;
  }
  
  .otohome-light-action {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
}

/* 4. TỐI ƯU HỘP MUA BẢO HIỂM TNDS TRÊN MOBILE */
@media (max-width: 768px) {
  .otohome-insurance-box {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }
  
  .otohome-insurance-title {
    font-size: 18px !important;
  }
  
  .otohome-price-tag {
    font-size: 22px !important;
  }
  
  #otohome-tnds-form {
    padding: 14px 12px !important;
  }
  
  #otohome-tnds-form button[type="submit"] {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
  }
}

/* 5. TỐI ƯU SỔ BẢO DƯỠNG XE & THẺ BẢO HÀNH ĐIỆN TỬ TRÊN MOBILE */
@media (max-width: 768px) {
  .otohome-carlog-wrapper {
    padding: 18px 12px !important;
    border-radius: 12px !important;
  }
  
  .otohome-car-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
  }
  
  .otohome-plate-badge {
    font-size: 16px !important;
    padding: 3px 10px !important;
  }
  
  .otohome-timeline {
    margin-left: 8px !important;
    padding-left: 16px !important;
  }
  
  .otohome-timeline-item::before {
    left: -23px !important;
    width: 12px !important;
    height: 12px !important;
  }
  
  /* Thẻ bảo hành điện tử ISO co giãn chuẩn trên mobile */
  .otohome-warranty-card,
  .morcar-warranty-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  
  .otohome-warranty-card .card-chip,
  .morcar-warranty-card .card-chip {
    width: 32px !important;
    height: 24px !important;
  }
  
  .otohome-warranty-card .card-serial,
  .morcar-warranty-card .card-serial {
    font-size: 14px !important;
    letter-spacing: 2px !important;
  }
}

/* 6. QUY CHUẨN TOUCH TARGETS & NÚT BẤM (GOOGLE MOBILE-FRIENDLY > 44PX) */
@media (max-width: 768px) {
  a.button, 
  button.button, 
  input[type="submit"].button,
  .otohome-highway-call-btn,
  .custom-readmore-btn {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation !important;
    font-size: 13.5px !important;
  }
}


/* ===================================================================
   HỆ THỐNG ĐỒNG BỘ HÓA TOÀN DIỆN OTOHOME (MASTER DESIGN SYSTEM)
   Đồng bộ hóa 100% Nút bấm, Màu sắc, Font chữ và Cỡ chữ trên cả PC & Mobile
   =================================================================== */

/* -------------------------------------------------------------------
   1. ĐỒNG BỘ HÓA TYPOGRAPHY & CỠ CHỮ TOÀN BỘ GIAO DIỆN
   ------------------------------------------------------------------- */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body, p, li, input, textarea, select, table, td, th {
  font-family: var(--otohome-font-body) !important;
  color: var(--otohome-text) !important;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings chuẩn hóa bằng Plus Jakarta Sans */
h1, h2, h3, h4, h5, h6,
.entry-title, .product-title, .section-title, .widget-title,
.nav > li > a, .header-nav, .nav-dropdown,
.price, .badge, .otohome-badge, .woocommerce-Price-amount {
  font-family: var(--otohome-font-heading) !important;
  color: var(--otohome-secondary) !important;
  letter-spacing: -0.015em;
  margin-top: 0;
}

/* Thang kích thước chữ co giãn mượt mà (Fluid Typography clamp) */
h1, .entry-title, .product-title {
  font-size: clamp(1.55rem, 4vw, 2.25rem) !important; /* 24.8px -> 36px */
  line-height: 1.25 !important;
  font-weight: 800 !important;
  margin-bottom: 0.75rem;
}

h2, .section-title {
  font-size: clamp(1.28rem, 3.2vw, 1.75rem) !important; /* 20.5px -> 28px */
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin-bottom: 0.65rem;
}

h3 {
  font-size: clamp(1.12rem, 2.4vw, 1.38rem) !important; /* 18px -> 22px */
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: clamp(1rem, 1.8vw, 1.15rem) !important; /* 16px -> 18.5px */
  line-height: 1.4 !important;
  font-weight: 600 !important;
  margin-bottom: 0.4rem;
}

h5 { font-size: 1rem !important; font-weight: 600 !important; }
h6 { font-size: 0.88rem !important; font-weight: 600 !important; text-transform: uppercase; }

/* Cỡ chữ nội dung văn bản */
p, .entry-content p, .otohome-card-body p {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  margin-bottom: 1.1rem;
}

@media (max-width: 768px) {
  p, .entry-content p, .otohome-card-body p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }
}

/* Cỡ chữ bảng biểu và chú thích */
table, td, th {
  font-size: 14px !important;
}

@media (max-width: 768px) {
  table, td, th {
    font-size: 13px !important;
  }
}

small, .entry-meta, .caption, .otohome-meta-text {
  font-size: 13px !important;
  color: var(--otohome-text-light) !important;
  line-height: 1.45;
}

@media (max-width: 768px) {
  small, .entry-meta, .caption, .otohome-meta-text {
    font-size: 12px !important;
  }
}

/* Liên kết văn bản */
a {
  color: var(--otohome-secondary);
  transition: color 0.2s ease;
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--otohome-primary) !important;
}


/* -------------------------------------------------------------------
   2. ĐỒNG BỘ HÓA TOÀN BỘ NÚT BẤM (BUTTON SYSTEM STANDARDIZATION)
   Áp dụng cho Flatsome, WooCommerce, Contact Form 7 và Custom Elements
   ------------------------------------------------------------------- */

/* Định dạng cơ bản cho tất cả nút bấm */
a.button, 
button.button, 
.button, 
input[type="submit"].button, 
input[type="submit"], 
.is-form button,
.single_add_to_cart_button, 
.add_to_cart_button, 
.checkout-button, 
#place_order, 
.woocommerce-Button,
.wpcf7-submit, 
.fluentform-submit,
.otohome-highway-call-btn, 
.custom-readmore-btn, 
.otohome-tab-btn, 
.otohome-btn {
  font-family: var(--otohome-font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important; /* Không tự ép viết hoa toàn bộ thô cứng */
  border-radius: 8px !important; /* Đồng bộ bo góc 8px trên toàn hệ thống */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important; /* Triệt tiêu 100% lỗi rớt 1 từ xuống dòng */
  line-height: 1 !important; /* Căn giữa hoàn hảo icon và chữ */
  text-align: center !important;
  box-sizing: border-box !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  touch-action: manipulation !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* Kích thước nút chuẩn trên Desktop */
.button.is-large, .button.is-xlarge {
  height: 48px !important;
  padding: 0 24px !important;
  font-size: 15.5px !important;
}

.button, .button.is-normal, input[type="submit"], .wpcf7-submit {
  height: 42px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
}

.button.is-small, .custom-readmore-btn, .otohome-btn-sm {
  height: 34px !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
}

/* Tự động tối ưu kích thước nút trên Mobile (Chuẩn Google Touch Target > 44px) */
@media (max-width: 768px) {
  a.button, 
  button.button, 
  .button, 
  input[type="submit"].button, 
  input[type="submit"],
  .single_add_to_cart_button, 
  .checkout-button, 
  #place_order, 
  .wpcf7-submit, 
  .otohome-highway-call-btn {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }
  
  .button.is-small, .custom-readmore-btn {
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
  }
}

/* 2.1. Nút chính (PRIMARY BUTTON - Đỏ Đua Otohome #E52B38) */
a.button.primary, 
button.button.primary, 
.button.primary, 
.button.is-primary,
.single_add_to_cart_button, 
.checkout-button, 
#place_order,
.wpcf7-submit, 
.otohome-btn-primary, 
.otohome-highway-call-btn {
  background-color: var(--otohome-primary) !important;
  border: 1.5px solid var(--otohome-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(229, 43, 56, 0.2) !important;
}

a.button.primary:hover, 
button.button.primary:hover, 
.button.primary:hover, 
.button.is-primary:hover,
.single_add_to_cart_button:hover, 
.checkout-button:hover, 
#place_order:hover,
.wpcf7-submit:hover, 
.otohome-btn-primary:hover, 
.otohome-highway-call-btn:hover {
  background-color: var(--otohome-primary-hover) !important;
  border-color: var(--otohome-primary-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(229, 43, 56, 0.35) !important;
}

/* 2.2. Nút phụ (SECONDARY BUTTON - Xanh Đen Than Chì #0F172A) */
a.button.secondary, 
button.button.secondary, 
.button.secondary, 
.button.is-secondary, 
.otohome-btn-secondary {
  background-color: var(--otohome-secondary) !important;
  border: 1.5px solid var(--otohome-secondary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15) !important;
}

a.button.secondary:hover, 
button.button.secondary:hover, 
.button.secondary:hover, 
.button.is-secondary:hover, 
.otohome-btn-secondary:hover {
  background-color: var(--otohome-secondary-light) !important;
  border-color: var(--otohome-secondary-light) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25) !important;
}

/* 2.3. Nút viền (OUTLINE BUTTON) */
a.button.outline, 
button.button.outline, 
.button.outline, 
.button.is-outline, 
.otohome-btn-outline {
  background-color: transparent !important;
  border: 1.5px solid var(--otohome-secondary) !important;
  color: var(--otohome-secondary) !important;
}

a.button.outline:hover, 
button.button.outline:hover, 
.button.outline:hover, 
.button.is-outline:hover, 
.otohome-btn-outline:hover {
  background-color: var(--otohome-bg-light) !important;
  border-color: var(--otohome-primary) !important;
  color: var(--otohome-primary) !important;
  transform: translateY(-1px) !important;
}

/* 2.4. Nút khẩn cấp Cứu hộ SOS (SOS Pulse Animation) */
.button.is-sos, .otohome-sos-btn {
  background: var(--otohome-primary) !important;
  border: 1.5px solid var(--otohome-primary) !important;
  color: #FFFFFF !important;
  animation: pulse-sos-btn 2s infinite !important;
}

@keyframes pulse-sos-btn {
  0% { box-shadow: 0 0 0 0 rgba(229, 43, 56, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(229, 43, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 43, 56, 0); }
}


/* -------------------------------------------------------------------
   3. ĐỒNG BỘ HÓA GIAO DIỆN THẺ CARD, FORM & BẢNG BIỂU (UI ELEMENTS)
   ------------------------------------------------------------------- */

/* Đồng bộ các khối thẻ Card */
.otohome-element-card, 
.mc-element-card, 
.otohome-pricing-card, 
.otohome-timeline-card,
.post-item .box, 
.product-small .box {
  background: var(--otohome-bg-white) !important;
  border: 1px solid var(--otohome-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.25s ease !important;
}

.otohome-element-card:hover, 
.mc-element-card:hover, 
.post-item .box:hover, 
.product-small .box:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  border-color: #CBD5E1 !important;
}

/* Đồng bộ các trường nhập liệu Form (Input, Textarea, Select) */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="password"], 
input[type="search"], 
textarea, 
select {
  font-family: var(--otohome-font-body) !important;
  font-size: 14.5px !important;
  color: var(--otohome-secondary) !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid var(--otohome-border) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--otohome-primary) !important;
  box-shadow: 0 0 0 3px rgba(229, 43, 56, 0.15) !important;
  outline: none !important;
}

/* Đồng bộ Huy hiệu (Badges & Tags) */
.badge, .otohome-badge, .mc-element-badge {
  font-family: var(--otohome-font-heading) !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

.badge.is-danger, .otohome-badge.is-danger {
  background: #FFF5F5 !important;
  color: var(--otohome-danger) !important;
  border: 1px solid #FED7D7 !important;
}

.badge.is-warning, .otohome-badge.is-warning {
  background: #FFFBEB !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}

.badge.is-success, .otohome-badge.is-success, .otohome-verified-badge {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border: 1px solid #A7F3D0 !important;
}

.badge.is-info, .otohome-badge.is-info {
  background: #F0F9FF !important;
  color: #0369A1 !important;
  border: 1px solid #BAE6FD !important;
}
