/*
Theme Name: maylanh
Theme URI: https://vesinhmaylanh.com.vn
Description: Child theme Flatsome chuyen sau cho website Ve Sinh May Lanh TPHCM - vesinhmaylanh.com.vn
Author: SkyAds
Author URI: https://vesinhmaylanh.com.vn
Template: flatsome
Version: 1.0.0
Text Domain: maylanh
*/

/* ==========================================================================
   Custom CSS for maylanh Child Theme (Flatsome + UX Builder)
   ========================================================================== */

:root {
  --primary-color: #0284c7;
  --primary-hover: #0369a1;
  --secondary-color: #22c55e;
  --accent-color: #f59e0b;
  --dark-bg: #04121c;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

/* Header & Logo styling */
.header_logo, .header-logo, .header-logo-dark {
  width: auto !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header_logo:hover, .header-logo:hover {
  transform: scale(1.02);
}

.header-top {
  background-color: var(--dark-bg);
}

/* ==========================================================================
   MENU: KHOẢNG CÁCH GỌN GÀNG, HOVER & ACTIVE VIÊN THUỐC NHƯ DEMO (GAP 2PX)
   ========================================================================== */
.header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.header-nav > li {
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav > li > a {
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 7px 10px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #111827 !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

/* Khi Hover hoặc Active (Trang hiện tại) */
.header-nav > li > a:hover,
.header-nav > li.current-menu-item > a,
.header-nav > li.active > a {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
}

/* Xóa gạch chân mặc định của Flatsome */
.header-nav li > a:before,
.header-nav li > a:after,
.nav-line-bottom > li > a:after,
.nav-line-grow > li > a:after {
  display: none !important;
}

/* Ensure fullwidth sections in main content */
#content.content-area {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   CONTAINER .c: ĐỒNG BỘ ĐỘ RỘNG THEO FLATSOME (KHÔNG CÀI WIDTH CỨNG)
   ========================================================================== */
.c {
  width: 100% !important;
  max-width: var(--fs-site-width, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   FIX PRICING PAGE: SIDEBAR & TABLE LAYOUT (.side, .bk, .tw, table)
   ========================================================================== */
.c.side,
.side {
  width: 100% !important;
  max-width: var(--fs-site-width, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 40px !important;
  align-items: start !important;
}

.side > * {
  min-width: 0 !important;
}

article.prose {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Table wrapper & Table styles */
.tw {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  margin-bottom: 25px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.tw table {
  width: 100% !important;
  min-width: 520px;
  border-collapse: collapse !important;
  font-size: 15px !important;
  margin-bottom: 0 !important;
  border: none !important;
}

.tw table th {
  background: #07090f !important;
  color: #d1fae5 !important;
  font: 600 13px 'Be Vietnam Pro', sans-serif !important;
  text-align: left !important;
  padding: 14px 18px !important;
  letter-spacing: 0.02em !important;
  border: none !important;
}

.tw table td {
  padding: 13px 18px !important;
  border-top: 1px solid #eef2f6 !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  color: #334155 !important;
  vertical-align: middle !important;
}

.tw table tbody tr:hover td {
  background: #f5fbff !important;
}

.tw td .pp {
  font: 800 16px 'Be Vietnam Pro', sans-serif !important;
  color: #e11d48 !important;
}

.tw td b {
  color: #0f172a !important;
}

.tw td a {
  color: #0369a1 !important;
  text-decoration: none !important;
}

.tw td a:hover {
  color: #0284c7 !important;
  text-decoration: none !important;
}

/* Sticky Sidebar Booking Card */
aside.sticky {
  position: sticky !important;
  top: 96px !important;
  width: 100% !important;
  max-width: 380px !important;
  min-width: 320px !important;
  z-index: 10 !important;
}

.bk {
  border-radius: 24px !important;
  padding: 24px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 30px 70px -30px rgba(6, 18, 31, 0.35) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.bk .h {
  font: 700 21px 'Be Vietnam Pro', sans-serif !important;
  color: #0f172a !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  margin-bottom: 4px !important;
}

.bk .sub {
  font-size: 13.5px !important;
  color: #64748b !important;
  margin-bottom: 14px !important;
}

/* FIX FLATSOME .row CONFLICT INSIDE .bk */
.bk form .row,
.bk .row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  flex-flow: unset !important;
}

.bk .row > div {
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bk label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 8px 0 4px !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}

.bk input,
.bk select {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 10px 13px !important;
  border-radius: 12px !important;
  border: 1px solid #d6e4ee !important;
  font: inherit !important;
  font-size: 14.5px !important;
  color: #0f172a !important;
  background: #ffffff !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

.bk input:focus,
.bk select:focus {
  border-color: #0284c7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.bk .est {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 14px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #f0f9ff !important;
  border: 1px dashed #7dd3fc !important;
  font-size: 14px !important;
}

.bk .est b {
  font: 800 20px 'Be Vietnam Pro', sans-serif !important;
  color: #0369a1 !important;
}

.bk button[type="submit"],
.bk .bn.p {
  width: 100% !important;
  margin-top: 14px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 15.5px !important;
  background: linear-gradient(135deg, #0284c7, #10b981) !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
}

.bk small {
  display: block !important;
  text-align: center !important;
  margin-top: 10px !important;
  color: #64748b !important;
  font-size: 12.5px !important;
}

@media (max-width: 991px) {
  .c.side,
  .side {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  article.prose {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  aside.sticky {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 20px !important;
  }
  .bk {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* ==========================================================================
   ALIGN CHECKBOX INPUT PERFECTLY WITH TEXT IN CALCULATOR (.mcx)
   ========================================================================== */
.mcx {
  display: grid !important;
  gap: 10px !important;
}

.mcx label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #e5e7eb !important;
  line-height: 1.25 !important;
  margin-bottom: 0 !important;
}

.mcx label:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.mcx input,
.mcx input[type="checkbox"],
.mcx label input[type="checkbox"] {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
  align-self: center !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 0 !important;
  cursor: pointer !important;
  accent-color: #10b981 !important;
}

.mcx b,
.mcx label b {
  margin-left: auto !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  align-self: center !important;
  line-height: 1.25 !important;
}

/* ==========================================================================
   FIX HOVER COLOR: PREVENT FLATSOME DEFAULT BLACK COLOR ON HOVER
   ========================================================================== */

/* Fix Hotline Cards in Footer */
.hl,
.hl:hover,
.hl:focus,
.hl:active {
  color: #ffffff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(232, 67, 12, 0.12)) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.hl:hover {
  transform: translateY(-4px) !important;
}

.hl b,
.hl:hover b,
.hl:focus b {
  color: #ffffff !important;
}

.hl small,
.hl:hover small,
.hl:focus small {
  color: #d1fae5 !important;
}

.hl span,
.hl:hover span,
.hl:focus span {
  color: #9fb3c8 !important;
}

.hl svg,
.hl:hover svg {
  stroke: currentColor !important;
}

/* Fix All Buttons Hover Text Color */
.bn,
.bn:hover,
.bn:focus {
  text-decoration: none !important;
}

.bn.p,
.bn.p:hover,
.bn.p:focus {
  color: #022c22 !important;
}

.bn.y,
.bn.y:hover,
.bn.y:focus {
  color: #07090f !important;
}

.bn.g,
.bn.g:hover,
.bn.g:focus {
  color: #ffffff !important;
}

.bn.z,
.bn.z:hover,
.bn.z:focus {
  color: #ffffff !important;
}

.bn.o,
.bn.o:hover,
.bn.o:focus {
  color: #111827 !important;
}

/* Fix CTA Band and Hero CTA Buttons */
.cta2 .bn {
  white-space: nowrap !important;
}

.band .bn.y,
.band .bn.y:hover {
  color: #ffffff !important;
}

.band .bn.g,
.band .bn.g:hover {
  color: #ffffff !important;
}

/* ==========================================================================
   TỐI ƯU GIAO DIỆN NÚT CTA TRÊN MOBILE (ĐẶC BIỆT .band .cta2)
   ========================================================================== */
@media (max-width: 640px) {
  .band .c {
    padding: 34px 16px !important;
    gap: 16px !important;
  }

  .band p.bh {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .band .c > div:first-child p:not(.bh) {
    font-size: 14px !important;
    line-height: 1.5 !important;
    opacity: 0.92 !important;
  }

  .band .cta2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .band .cta2 .bn {
    flex: none !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 8px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .band .cta2 .bn svg.i {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  /* Nút Gọi Hotline: Xanh ngọc nổi bật, gọn gàng, thanh thoát */
  .band .cta2 .bn.y {
    background: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
  }

  .band .cta2 .bn.y:hover,
  .band .cta2 .bn.y:focus {
    background: #059669 !important;
    color: #ffffff !important;
  }

  /* Nút Chat Zalo: Viền kính mờ hiện đại, đồng bộ chiều cao */
  .band .cta2 .bn.g {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px) !important;
  }

  .band .cta2 .bn.g:hover,
  .band .cta2 .bn.g:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
  }
}

@media (max-width: 340px) {
  .band .cta2 {
    grid-template-columns: 1fr !important;
  }
}

.hz .cta2 .bn.p,
.hz .cta2 .bn.p:hover {
  color: #022c22 !important;
}

.hz .cta2 .bn.g,
.hz .cta2 .bn.g:hover {
  color: #ffffff !important;
}

/* Fix Footer Links & Text */
footer {
  background: #07090f !important;
  color: #9fb3c8 !important;
}

footer a {
  color: #c7d6e6 !important;
  text-decoration: none !important;
}

footer a:hover {
  color: #38bdf8 !important;
  text-decoration: none !important;
}

/* Flatsome Blog Posts Cards Enhancement */
.box-blog-post {
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.box-blog-post:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px -15px rgba(6, 18, 31, 0.15) !important;
}

.box-blog-post .box-image {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  overflow: hidden !important;
}

.box-blog-post .box-text {
  padding: 18px 20px 22px !important;
  text-align: left !important;
}

.box-blog-post .post-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
  text-align: left !important;
}

.box-blog-post .post-title a {
  color: #0f172a !important;
  text-decoration: none !important;
}

.box-blog-post .post-title a:hover {
  color: #0284c7 !important;
}

.box-blog-post .is-divider {
  display: none !important;
}

.box-blog-post .from_the_blog_excerpt {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

/* ==========================================================================
   LOẠI BỎ TOÀN BỘ GẠCH CHÂN (UNDERLINE) KHI HOVER URL TRÊN TOÀN TRANG
   ========================================================================== */
a,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

footer .logo,
footer .logo:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

footer .logo small {
  color: #9fb3c8 !important;
}

footer .fbot a,
footer .fbot a:hover {
  color: #9fb3c8 !important;
}

/* Fix Interactive Cards Hover */
.post:hover,
.post:focus {
  text-decoration: none !important;
}

.post:hover h3 {
  color: #0284c7 !important;
}

.ucd:hover,
.fcd:hover,
.brc:hover {
  text-decoration: none !important;
}

.ucd:hover h3,
.fcd:hover h3,
.brc:hover h3,
.brc:hover h2 {
  color: #0284c7 !important;
}

/* ==========================================================================
   BRAND CARDS (.brs & .brc)
   ========================================================================== */
.brs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

.brc {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 18px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid var(--l, #e2e8f0) !important;
  color: inherit !important;
  overflow: hidden !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s !important;
  text-decoration: none !important;
}

.brc:before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 4px !important;
  background: var(--bc, #0ea5e9) !important;
}

.brc:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 26px 50px -30px rgba(7, 9, 15, 0.45) !important;
  border-color: var(--bc, #0ea5e9) !important;
  text-decoration: none !important;
}

.brc b {
  font: 800 21px 'Be Vietnam Pro', sans-serif !important;
  color: var(--bc, #0ea5e9) !important;
  letter-spacing: -0.02em !important;
}

.brc small {
  font-size: 12.5px !important;
  color: var(--m, #64748b) !important;
}

.brc h2,
.brc h3,
.brc .brc-name {
  font-size: 14px !important;
  margin: 6px 0 0 !important;
  color: var(--n, #1e293b) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  transition: color 0.2s !important;
}

.brc span.ar2 {
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--n, #1e293b) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

@media (max-width: 992px) {
  .brs {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .brs {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .brs {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   SIGN CARDS (.fcg & .fcd) AND SERVICE CARDS (.ucg & .ucd)
   ========================================================================== */
.fcg {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

.fcg.s3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

.fcd {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 22px 20px 18px !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  border: 1px solid var(--l, #e2e8f0) !important;
  color: var(--t, #1e293b) !important;
  overflow: hidden !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.35s !important;
  text-decoration: none !important;
}

.fcd:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 4px !important;
  background: var(--cc, #0ea5e9) !important;
}

.fcd:after {
  content: "" !important;
  position: absolute !important;
  width: 180px !important;
  height: 180px !important;
  right: -70px !important;
  top: -70px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, color-mix(in srgb, var(--cc, #0ea5e9) 22%, transparent), transparent 70%) !important;
  transition: transform 0.5s !important;
}

.fcd:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--cc, #0ea5e9) 70%, #000) !important;
  border-color: color-mix(in srgb, var(--cc, #0ea5e9) 45%, #fff) !important;
  text-decoration: none !important;
}

.fcd:hover:after {
  transform: scale(1.5) !important;
}

.fcd .no {
  position: absolute !important;
  right: 16px !important;
  top: 12px !important;
  font: 800 34px/1 'Be Vietnam Pro', sans-serif !important;
  color: color-mix(in srgb, var(--cc, #0ea5e9) 18%, #cbd5e1) !important;
}

.fcd .fi,
.ucd .fi {
  position: relative !important;
  z-index: 1 !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--cc, #0ea5e9), color-mix(in srgb, var(--cc, #0ea5e9) 55%, #000)) !important;
  box-shadow: 0 12px 24px -12px var(--cc, #0ea5e9) !important;
  flex-shrink: 0 !important;
}

.fcd h2,
.fcd h3 {
  position: relative !important;
  z-index: 1 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  margin: 4px 0 0 !important;
  color: var(--n, #1e293b) !important;
  font-weight: 700 !important;
}

.fcd:hover h2,
.fcd:hover h3 {
  color: #0284c7 !important;
}

.fcd p {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--m, #64748b) !important;
  flex: 1 !important;
}

.fcd .fm,
.ucd .fm {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  padding-top: 12px !important;
  border-top: 1px dashed var(--l, #e2e8f0) !important;
  margin-top: auto !important;
}

.fcd .fm b,
.ucd .fm b {
  font: 800 15px 'Be Vietnam Pro', sans-serif !important;
  color: var(--n, #1e293b) !important;
}

.fcd .lv {
  font: 700 11px 'Be Vietnam Pro', sans-serif !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
}

.fcd .lv.h {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

.fcd .lv.m {
  background: #fef3c7 !important;
  color: #92400e !important;
}

/* Service cards (.ucg & .ucd) */
.ucg {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
}

.ucd {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 26px 22px 20px !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--cc, #0ea5e9) 5%, #ffffff)) !important;
  border: 1px solid var(--l, #e2e8f0) !important;
  color: var(--t, #1e293b) !important;
  overflow: hidden !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s !important;
  text-decoration: none !important;
}

.ucd:before {
  content: "" !important;
  position: absolute !important;
  right: -40px !important;
  bottom: -40px !important;
  width: 160px !important;
  height: 160px !important;
  border-radius: 50% !important;
  border: 24px solid color-mix(in srgb, var(--cc, #0ea5e9) 10%, transparent) !important;
  transition: transform 0.6s !important;
}

.ucd:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 30px 60px -32px color-mix(in srgb, var(--cc, #0ea5e9) 75%, #000) !important;
  text-decoration: none !important;
}

.ucd:hover:before {
  transform: scale(1.4) rotate(40deg) !important;
}

.ucd small {
  font: 700 11.5px 'Be Vietnam Pro', sans-serif !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--cc, #0ea5e9) !important;
}

.ucd h2,
.ucd h3 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  color: var(--n, #1e293b) !important;
  font-weight: 700 !important;
}

.ucd:hover h2,
.ucd:hover h3 {
  color: #0284c7 !important;
}

.ucd p {
  margin: 0 !important;
  font-size: 14px !important;
  color: var(--m, #64748b) !important;
  flex: 1 !important;
}

@media (max-width: 960px) {
  .fcg,
  .fcg.s3,
  .ucg {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .fcg,
  .fcg.s3,
  .ucg {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   FIX HERO STAT CARDS: BÁO GIÁ QUA ZALO (.bt.ch) & BẢNG GIÁ NHANH (.bt.gs)
   ========================================================================== */
.bt.gs {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.bt.gs small.k {
  display: block !important;
  font: 700 11.5px/1 'Be Vietnam Pro', sans-serif !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #8b93a1 !important;
  margin-bottom: 8px !important;
}

.bt.gs .vm {
  height: 98px !important;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%) !important;
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%) !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bt.gs .vm .vm-track {
  display: flex !important;
  flex-direction: column !important;
  animation: vmq 12s linear infinite !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fallback grid if HTML has flat span + b siblings before JS transforms */
.bt.gs .vm > div:not(.vm-track) {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  row-gap: 0 !important;
  column-gap: 12px !important;
  animation: vmq 12s linear infinite !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bt.gs .vm:hover .vm-track,
.bt.gs .vm > div:hover {
  animation-play-state: paused !important;
}

.bt.gs .vm-row,
.bt.gs .vm > div > span:not(:last-child:nth-child(odd)) {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Flat sibling styling fallback */
.bt.gs .vm > div:not(.vm-track) > span {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
  padding: 10px 0 !important;
  width: auto !important;
}

.bt.gs .vm > div:not(.vm-track) > b {
  color: #34d399 !important;
  font: 800 15.5px 'Be Vietnam Pro', sans-serif !important;
  text-align: right !important;
  white-space: nowrap !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
  padding: 10px 0 !important;
  width: auto !important;
  margin-left: 0 !important;
}

.bt.gs .vm-label,
.bt.gs .vm > div > span > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  border: none !important;
  padding: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

.bt.gs .vm-dot,
.bt.gs .vm > div > span > span i,
.bt.gs .vm span i {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: var(--c, #0ea5e9) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 8px var(--c, #0ea5e9) !important;
}

.bt.gs .vm-price,
.bt.gs .vm > div > span b,
.bt.gs .vm b {
  font: 800 15.5px 'Be Vietnam Pro', sans-serif !important;
  color: #34d399 !important;
  white-space: nowrap !important;
  margin-left: auto !important;
  letter-spacing: -0.01em !important;
}

@keyframes vmq {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Chat Card: Báo giá qua Zalo (.bt.ch) - Always visible, clean chat bubbles */
.bt.ch {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-height: 140px !important;
  overflow: hidden !important;
  justify-content: flex-start !important;
}

.bt.ch p {
  margin: 0 !important;
  max-width: 92% !important;
  padding: 8px 12px !important;
  border-radius: 14px !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.bt.ch p.u {
  align-self: flex-end !important;
  background: #0068ff !important;
  color: #ffffff !important;
  border-bottom-right-radius: 4px !important;
}

.bt.ch p.a {
  align-self: flex-start !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f3f4f6 !important;
  border-bottom-left-radius: 4px !important;
}

/* Floating Contact Buttons */
.fl {
  position: fixed;
  bottom: 24px;
  left: 20px !important;
  right: auto !important;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (max-width: 768px) {
  .fl {
    bottom: 18px;
    right: 16px !important;
    left: auto !important;
    gap: 10px;
  }
}

.fl .zl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0068ff !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 104, 255, 0.4);
  transition: transform 0.25s ease;
}

.fl .zl:hover {
  transform: scale(1.1);
  color: #ffffff !important;
}

.fl .pc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  animation: pulse-ring 2s infinite;
  transition: transform 0.25s ease;
}

.fl .pc:hover {
  transform: scale(1.1);
  color: #ffffff !important;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* Hide Footer Watermark text */
.fwm {
  display: none !important;
}

/* ==========================================================================
   CONTENT RESPONSIVE FIXES (MOBILE & TABLET) - EXCLUDING HEADER
   ========================================================================== */

/* Prevent horizontal overflow on mobile body & wrappers */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  position: relative;
}

#wrapper, #main, #content {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

@media (max-width: 768px) {
  /* Override sitee051.css display:block card hack on mobile, keep clean real table */
  .tw {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tw table {
    display: table !important;
    width: 100% !important;
    min-width: 480px !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: none !important;
  }

  .tw thead {
    display: table-header-group !important;
  }

  .tw tbody {
    display: table-row-group !important;
  }

  .tw tr {
    display: table-row !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .tw tr:hover td {
    background: #f8fafc !important;
  }

  .tw th {
    display: table-cell !important;
    background: #07090f !important;
    color: #d1fae5 !important;
    font: 700 13px 'Be Vietnam Pro', sans-serif !important;
    text-align: left !important;
    padding: 12px 14px !important;
    white-space: nowrap !important;
    border: none !important;
  }

  .tw td {
    display: table-cell !important;
    padding: 11px 14px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    border-top: 1px solid #eef2f6 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    color: #334155 !important;
  }

  .tw td:first-child {
    border-bottom: none !important;
    padding-bottom: 11px !important;
    font-weight: normal !important;
  }

  .tw td:not(:first-child):before {
    display: none !important;
    content: none !important;
  }

  .tw td .pp {
    font: 800 15px 'Be Vietnam Pro', sans-serif !important;
    color: #e11d48 !important;
  }

  /* Section padding & headings */
  .s {
    padding: 44px 0 !important;
  }

  .hd {
    margin-bottom: 24px !important;
  }

  .hd h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .hd p {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 480px) {
  /* Hero title & text scaling */
  .hzl h1 {
    font-size: 27px !important;
    line-height: 1.25 !important;
  }

  .hzl .lead {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .hd h2 {
    font-size: 21px !important;
  }

  /* Stack Hero & Banner CTA Buttons on Mobile */
  .cta2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .cta2 .bn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 14.5px !important;
    box-sizing: border-box !important;
  }

  .band .cta2 {
    grid-template-columns: 1fr !important;
  }

  /* Interactive Calculator on small mobile: Prevent overflow and text clipping */
  .mcg {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mcg > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mct {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .mct button {
    padding: 9px 6px !important;
    font-size: 12.5px !important;
  }

  .mcq {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mcq .ds {
    margin-left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .mcb, .mcr {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px 16px !important;
  }

  .mcr {
    position: static !important;
    top: auto !important;
    overflow: hidden !important;
    margin-top: 6px !important;
  }

  .mcr .ln {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mcr .ln b {
    white-space: nowrap !important;
    color: #ffffff !important;
    margin-left: auto !important;
    text-align: right !important;
  }

  .mcr .cta2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .mcr .cta2 .bn {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mrt {
    padding: 12px 10px !important;
    gap: 6px !important;
  }

  /* Before / After Slider on small mobile */
  .ba {
    border-radius: 16px !important;
  }

  .ba .lb {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
    top: 8px !important;
  }

  .ba .lb.l { left: 8px !important; }
  .ba .lb.r { right: 8px !important; }

  .ba .hd2:after {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }

  /* Blog Cards 1 column */
  .g3 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   HERO TRUST BADGES (.hzk) - 3 columns in 1 single row
   ========================================================================== */
.hzk {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  flex-wrap: nowrap !important;
  margin-top: 30px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.hzk > div {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.hzk > div > i {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  color: #6ee7b7 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.hzk > div > span {
  display: flex !important;
  flex-direction: column !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  color: #8b93a1 !important;
  white-space: nowrap !important;
}

.hzk > div > span > b,
.hzk > div > b {
  display: block !important;
  font: 800 18.5px/1.1 'Be Vietnam Pro', sans-serif !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
}

@media (max-width: 560px) {
  .hzk {
    flex-wrap: wrap !important;
    gap: 14px 16px !important;
  }
  .hzk > div {
    flex: 1 1 42% !important;
  }
}
