/*
Theme Name: Flatsome Child - HUIPENG PACKAGING
Description: Modern Token-Driven Design System for HUIPENG VIETNAM (huipengvn.com) - Flatsome 3.20.11 Zero-Rework Edition
Author: Antigravity Engineering
Template: flatsome
Version: 4.0.0
*/

/* ==========================================================================
   1. DESIGN TOKENS (CLONED FROM NICECUPVN.COM & HUIPENG BRAND IDENTITY)
   ========================================================================== */
:root {
  /* Brand Colors */
  --fx-primary: #009944;
  --fx-primary-hover: #007a37;
  --fx-primary-soft: rgba(0, 153, 68, 0.10);
  --fx-secondary: #0f172a;
  --fx-accent: #eab308;
  --fx-accent-hover: #ca8a04;

  /* Surfaces & Backgrounds */
  --fx-surface: #ffffff;
  --fx-surface-muted: #f8fafc;
  --fx-surface-subtle: #f1f5f9;
  --fx-surface-dark: #091e12;
  --fx-surface-dark-elevated: #0f291a;

  /* Typography & Contrast Colors (WCAG AA Checked) */
  --fx-text-heading: #0f172a;
  --fx-text-body: #334155;
  --fx-text-muted: #64748b;
  --fx-text-on-dark: #f8fafc;
  --fx-text-muted-on-dark: #cbd5e1;

  /* Borders & Dividers */
  --fx-border: #e2e8f0;
  --fx-border-hover: rgba(0, 153, 68, 0.40);
  --fx-border-on-dark: rgba(255, 255, 255, 0.15);

  /* Radii */
  --fx-radius-sm: 8px;
  --fx-radius-md: 14px;
  --fx-radius-lg: 20px;
  --fx-radius-pill: 9999px;

  /* Elevations / Shadows */
  --fx-shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
  --fx-shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -3px rgba(15, 23, 42, 0.04);
  --fx-shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.14), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  --fx-shadow-primary: 0 10px 25px -5px rgba(0, 153, 68, 0.32);

  /* Transitions */
  --fx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. FLUID RESPONSIVE TYPOGRAPHY & MULTILINGUAL SAFETY (EN / VI / ZH)
   ========================================================================== */
body {
  color: var(--fx-text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.heading-font {
  color: var(--fx-text-heading);
  letter-spacing: -0.015em;
  line-height: 1.28;
  margin-top: 0;
}

h1, .h1, .fx-hero-title {
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.24;
}

h2, .h2, .section-title-main {
  font-size: clamp(1.3rem, 1.8vw, 1.72rem) !important;
  font-weight: 800;
  line-height: 1.28;
}

h3, .h3 {
  font-size: clamp(1.06rem, 1.25vw, 1.25rem);
  font-weight: 700;
  line-height: 1.32;
}

h4, .h4 {
  font-size: clamp(0.96rem, 1vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* High-Contrast Guardrails for Dark Sections & Banners (.dark) */
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6,
.dark .featured-box h4, .dark .featured-box h5,
.dark .box-text h4, .dark .box-text h5 {
  color: var(--fx-text-on-dark) !important;
}

.dark p, .dark li, .dark .featured-box p, .dark .box-text p {
  color: var(--fx-text-muted-on-dark);
}

/* Protect White Cards Inside Dark Sections */
.dark .col-inner[style*="background-color:#ffffff"],
.dark .col-inner[style*="background-color: rgb(255, 255, 255)"],
.dark .box-text[style*="background-color:#ffffff"],
.dark .box-text[style*="background-color: rgb(255, 255, 255)"] {
  color: var(--fx-text-body) !important;
}

.dark .col-inner[style*="background-color:#ffffff"] h3,
.dark .col-inner[style*="background-color:#ffffff"] h4,
.dark .col-inner[style*="background-color:#ffffff"] h5,
.dark .box-text[style*="background-color:#ffffff"] h3,
.dark .box-text[style*="background-color:#ffffff"] h4,
.dark .box-text[style*="background-color:#ffffff"] h5 {
  color: var(--fx-text-heading) !important;
}

.dark .col-inner[style*="background-color:#ffffff"] p,
.dark .box-text[style*="background-color:#ffffff"] p {
  color: var(--fx-text-body) !important;
}

/* ==========================================================================
   3. EYEBROW BADGES, SECTION HEADERS & BULLET ITEMS
   ========================================================================== */
.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fx-primary);
  background: var(--fx-primary-soft);
  border: 1px solid rgba(0, 153, 68, 0.22);
  border-radius: var(--fx-radius-pill);
}

.dark .fx-eyebrow,
.banner .fx-eyebrow {
  color: #ffffff;
  background: rgba(0, 153, 68, 0.32);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.fx-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--fx-primary);
  background: var(--fx-primary-soft);
  border-radius: 6px;
}

.section-title-container {
  margin-bottom: 1.75rem;
}

.section-title-normal,
.section-title-bold,
.section-title-bold-center,
.section-title-center {
  border-bottom-color: var(--fx-border);
}

.section-title-normal span,
.section-title-bold span,
.section-title-bold-center span {
  border-bottom-color: var(--fx-primary);
}

.bullet-item,
li.bullet-checkmark,
li.bullet-arrow {
  list-style: none !important;
  position: relative;
  padding-left: 30px !important;
  margin-bottom: 10px !important;
  font-weight: 500;
  color: var(--fx-text-heading);
  line-height: 1.55;
  display: block;
}

.bullet-item::before,
li.bullet-checkmark::before,
li.bullet-arrow::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--fx-primary-soft);
  color: var(--fx-primary-hover);
  font-size: 0.76rem !important;
  font-weight: 800;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   4. NATIVE FLATSOME CARDS, BOXES & EQUAL-HEIGHT PERFECTION
   ========================================================================== */
.box-shadow-1,
.row-box-shadow-1 > .col > .col-inner {
  box-shadow: var(--fx-shadow-sm) !important;
  border: 1px solid var(--fx-border);
  transition: transform 0.32s var(--fx-ease), box-shadow 0.32s var(--fx-ease), border-color 0.32s var(--fx-ease);
}

.box-shadow-2,
.row-box-shadow-2 > .col > .col-inner {
  box-shadow: var(--fx-shadow-md) !important;
  border: 1px solid var(--fx-border);
  transition: transform 0.32s var(--fx-ease), box-shadow 0.32s var(--fx-ease), border-color 0.32s var(--fx-ease);
}

.box-shadow-3:hover,
.box-shadow-4:hover,
.row-box-shadow-3-hover > .col > .col-inner:hover,
.row-box-shadow-4-hover > .col > .col-inner:hover,
.box.has-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-lg) !important;
  border-color: var(--fx-border-hover);
}

.box-image,
.box .box-image,
.gallery-box .box-image,
.post-item .box-image {
  width: 100% !important;
  margin: 0 !important;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--fx-radius-md) var(--fx-radius-md) 0 0;
}

.box .box-image > a,
.box .box-image > a > div,
.gallery-col a.image-lightbox,
.post-item .col-inner > a.plain {
  display: block !important;
  width: 100% !important;
}

.box-default,
.box-normal,
.box-bounce,
.box-push,
.product-small.box,
.post-item .col-inner {
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--fx-border);
}

.box-default .box-text,
.box-normal .box-text,
.product-small .box-text,
.post-item .box-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.box-default .box-text .box-text-inner,
.box-normal .box-text .box-text-inner,
.product-small .box-text .box-text-inner,
.post-item .box-text .box-text-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.box-default .box-text a.button:not(.icon),
.box-normal .box-text a.button:not(.icon),
.post-item .box-text a.button:not(.icon),
.product-small .box-text .add-to-cart-button {
  margin-top: auto !important;
}

/* Equalized Product & Blog Card Titles */
.post-item .post-title,
.product-small .name.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.65em;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.product-small .name.product-title a {
  color: var(--fx-text-heading);
  font-size: 0.94rem;
  font-weight: 700;
}

.product-small .name.product-title a:hover {
  color: var(--fx-primary);
}

.product-small .category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-primary);
  margin-bottom: 4px;
}

/* Product Category Grid Cards (Cloned from nicecupvn.com) */
.product-category .col-inner {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.25s var(--fx-ease), box-shadow 0.25s var(--fx-ease), border-color 0.25s ease;
}

.product-category .col-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-md);
  border-color: var(--fx-primary);
}

.product-category .box-text .header-title {
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  color: var(--fx-text-heading) !important;
  text-transform: none !important;
}

.product-category .box-text .count {
  font-size: 0.78rem !important;
  color: var(--fx-primary) !important;
  font-weight: 600;
}

.post-item .from_the_blog_excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--fx-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.featured-box .icon-box-img {
  margin-bottom: 0.85rem;
  transition: transform 0.3s var(--fx-ease);
}

.featured-box:hover .icon-box-img {
  transform: scale(1.06);
}

.featured-box h4,
.featured-box h5 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.featured-box p {
  color: var(--fx-text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ==========================================================================
   5. ACCORDION (FAQ), TABS, TESTIMONIALS, KEYWORD PILLS & SPEC TABLES
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion-item.active,
.accordion-item:hover {
  border-color: var(--fx-border-hover) !important;
  box-shadow: var(--fx-shadow-sm);
}

.accordion-title {
  padding: 18px 22px !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  color: var(--fx-text-heading) !important;
  border-top: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-title.active {
  color: var(--fx-primary) !important;
  background: var(--fx-surface-muted);
}

.accordion-inner {
  padding: 16px 22px 22px 22px !important;
  color: var(--fx-text-body);
  border-top: 1px solid var(--fx-border);
}

/* Popular Search Keyword Pills (Cloned from nicecupvn.com .key-box) */
.fx-keyword-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-keyword-pills a {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--fx-text-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
}

.fx-keyword-pills a:hover {
  background: var(--fx-primary);
  border-color: var(--fx-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--fx-shadow-sm);
}

/* Technical Specification Table */
.fx-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--fx-border);
}

.fx-spec-table th,
.fx-spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--fx-border);
  text-align: left;
}

.fx-spec-table th {
  background: var(--fx-surface-muted);
  font-weight: 700;
  color: var(--fx-text-heading);
  width: 38%;
}

/* ==========================================================================
   6. BUTTONS, FORMS & HIGH-CONTRAST INTERACTIVE STATES (ZERO-DEFECT GEOMETRY)
   ========================================================================== */
.button {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: transform 0.22s var(--fx-ease), box-shadow 0.22s var(--fx-ease), background-color 0.22s ease;
}

a.button:not(.icon):not(.is-link),
button.button:not(.icon):not(.is-link),
input[type="submit"].button,
input[type="button"].button,
input[type="submit"].wpcf7-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1.25 !important;
  min-height: 42px !important;
  height: auto !important;
  padding: 10px 20px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box !important;
  max-width: 100%;
}

a.button.expand:not(.icon),
button.button.expand:not(.icon),
input[type="submit"].button.expand,
input[type="submit"].wpcf7-submit.expand {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

a.button.is-small:not(.icon):not(.is-link),
button.button.is-small:not(.icon):not(.is-link) {
  min-height: 40px !important;
  padding: 8px 16px !important;
  font-size: 0.88rem !important;
}

a.button.is-large:not(.icon):not(.is-link),
button.button.is-large:not(.icon):not(.is-link) {
  min-height: 46px !important;
  padding: 11px 22px !important;
  font-size: 0.95rem !important;
}

a.button.is-larger:not(.icon):not(.is-link),
button.button.is-larger:not(.icon):not(.is-link) {
  min-height: 48px !important;
  padding: 12px 24px !important;
  font-size: 0.98rem !important;
}

a.button:not(.icon) > i,
button.button:not(.icon) > i,
a.button:not(.icon) > svg,
button.button:not(.icon) > svg {
  margin: 0 !important;
  top: 0 !important;
  line-height: 1 !important;
  font-size: 1.05em !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

a.button:not(.icon) > span,
button.button:not(.icon) > span {
  display: inline-block !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.stack {
  gap: 14px !important;
  flex-wrap: wrap;
}

.stack > a.button,
.stack > button.button {
  margin: 0 !important;
}

.col.large-3 a.button:not(.icon),
.col.large-4 a.button:not(.icon),
.pricing-table a.button:not(.icon) {
  padding: 10px 16px !important;
  font-size: 0.88rem !important;
}

/* Circular Icon Buttons ([follow] Social Icons & [video_button]): Lock 1:1 Aspect Ratio */
a.button.icon.circle,
button.button.icon.circle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.social-icons a.button.icon.circle {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0 8px 8px 0 !important;
}

.video-button-wrapper a.button.open-video.icon.circle {
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.button.primary:not(.is-outline):not(.is-link):hover {
  transform: translateY(-2px);
  box-shadow: var(--fx-shadow-primary);
}

.button.white.is-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
}

.button.white.is-outline:hover {
  background-color: #ffffff !important;
  color: var(--fx-secondary) !important;
  border-color: #ffffff !important;
}

/* Modern Inputs & Contact Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="password"],
input[type="search"],
select,
textarea {
  height: 46px;
  padding: 0 14px;
  border-radius: var(--fx-radius-sm) !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  color: var(--fx-text-heading) !important;
  font-size: 0.94rem !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--fx-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 153, 68, 0.16) !important;
  outline: none !important;
}

/* ==========================================================================
   7. HEADER, LANGUAGE SWITCHER, FOOTER & FLOATING QUICK-CONTACT WIDGETS
   ========================================================================== */
#top-bar {
  background: linear-gradient(90deg, #092916 0%, #00843b 60%, #009944 100%) !important;
  color: #ffffff !important;
}

.header-main .nav > li > a {
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

/* Language Switcher Pills in Topbar & Mobile Menu */
.fx-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
}

.fx-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.fx-lang-btn:hover,
.fx-lang-btn.is-active {
  background: #ffffff !important;
  color: #007a37 !important;
  border-color: #ffffff !important;
}

/* Footer Typography & [ux_menu] Enterprise Hierarchy */
.footer-wrapper h3,
#footer h3 {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}

.footer-wrapper p,
#footer p {
  font-size: 0.875rem !important;
  line-height: 1.65 !important;
  color: var(--fx-text-muted-on-dark) !important;
  margin: 0 0 10px 0 !important;
}

.footer-wrapper .ux-menu-title,
.footer-wrapper .fx-footer-heading,
#footer .ux-menu-title,
#footer .fx-footer-heading,
.ux-menu-title {
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin: 0 0 12px 0 !important;
  padding: 0 0 10px 0 !important;
  border-bottom: 2px solid var(--fx-primary) !important;
  display: block !important;
  width: 100% !important;
}

.footer-wrapper .ux-menu-link__link,
#footer .ux-menu-link__link,
.ux-menu-link__link {
  font-size: 0.875rem !important;
  line-height: 1.45 !important;
  padding: 6.5px 0 !important;
  color: var(--fx-text-muted-on-dark) !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ux-menu-link__link:hover {
  color: var(--fx-accent) !important;
  transform: translateX(4px);
}

/* Single-Line Centered Copyright Bar & Horizontal Payment Icons */
.absolute-footer {
  background-color: #06180d !important;
  color: #cbd5e1 !important;
  padding: 8px 0 !important;
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

.absolute-footer .container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
}

.absolute-footer .container::before,
.absolute-footer .container::after,
.absolute-footer .footer-secondary:empty {
  display: none !important;
}

.absolute-footer .footer-primary,
.absolute-footer .footer-secondary {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

.absolute-footer .payment-icons {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

.absolute-footer .payment-icons .payment-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 3px 5px !important;
}

.absolute-footer .payment-icons .payment-icon svg {
  height: 18px !important;
  width: auto !important;
  display: block !important;
}

.absolute-footer .copyright-footer,
.absolute-footer .footer-text {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.84rem !important;
  display: inline-block !important;
  color: #cbd5e1 !important;
}

/* Floating Hotline & Quick-Contact Widgets */
.fx-floating-contact {
  position: fixed;
  left: 18px;
  bottom: 72px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-float-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: #009944;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0, 153, 68, 0.38);
  border: 2px solid #ffffff;
  transition: transform 0.2s ease;
}

.fx-float-phone:hover {
  transform: translateY(-2px);
  background: #007a37;
}

.fx-float-phone-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #009944;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fx-floating-social {
  position: fixed;
  right: 18px;
  bottom: 72px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-float-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.68rem !important;
  line-height: 1 !important;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  border: 2px solid #ffffff;
  transition: transform 0.2s ease;
}

.fx-float-btn:hover {
  transform: scale(1.08);
}

.fx-float-zalo {
  background: #0068ff;
}

.fx-float-fb {
  background: #1877f2;
}

.fx-float-quote {
  background: #eab308;
  color: #0f172a !important;
  font-size: 0.62rem !important;
  letter-spacing: -0.03em !important;
}

/* ==========================================================================
   8. ENTERPRISE TABLET & MOBILE TYPOGRAPHY + VIEWPORT ERGONOMICS (MANDATORY)
   ========================================================================== */
@media (max-width: 849px) {
  .section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }

  h1, .h1, .fx-hero-title, .banner h1, .page-title h1, .entry-title {
    font-size: 1.45rem !important;
    line-height: 1.28 !important;
  }

  h2, .h2, .section-title-main, .banner h2 {
    font-size: 1.2rem !important;
    line-height: 1.32 !important;
  }

  h3, .h3, .fx-ice-card .box-text h3, .post-item .post-title {
    font-size: 1.02rem !important;
    line-height: 1.35 !important;
  }

  h4, .h4, .featured-box h4, .featured-box h5 {
    font-size: 0.94rem !important;
    line-height: 1.38 !important;
  }

  #top-bar {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 !important;
  }

  #top-bar .flex-row {
    min-height: 28px !important;
    height: 28px !important;
  }

  #top-bar .nav > li > a,
  #top-bar .html_topbar_left,
  #top-bar .html_topbar_right,
  #top-bar span {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 94vw !important;
    display: inline-block !important;
  }

  #header .header-main {
    height: 70px !important;
  }

  /* Put 3-line Hamburger Menu Icon on the LEFT of the Logo on Mobile/Tablet */
  #header .header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  #header .header-inner > .flex-left.show-for-medium {
    order: 1 !important;
    flex: 0 0 auto !important;
    margin-right: 10px !important;
    margin-left: 0 !important;
  }

  #header .header-inner > #logo {
    order: 2 !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 155px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  #header .header-inner > .flex-right.show-for-medium {
    order: 3 !important;
    flex: 0 0 auto !important;
    margin-left: 8px !important;
  }

  #header #logo img,
  #logo img {
    max-height: 54px !important;
    width: auto !important;
    padding: 2px 0 !important;
  }

  /* Stack Payment Icons Horizontally Above Copyright on Mobile/Tablet */
  .absolute-footer .container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .absolute-footer .footer-secondary {
    order: 1 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .absolute-footer .footer-primary {
    order: 2 !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
  }

  a.button:not(.icon):not(.is-link),
  button.button:not(.icon):not(.is-link),
  a.button.is-large:not(.icon):not(.is-link),
  a.button.is-larger:not(.icon):not(.is-link) {
    padding: 9px 16px !important;
    font-size: 0.86rem !important;
    min-height: 40px !important;
  }
}

@media (max-width: 549px) {
  .section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .row .col {
    padding-bottom: 16px;
  }

  body, p, li, td {
    font-size: 0.875rem !important;
    line-height: 1.56 !important;
  }

  h1, .h1, .fx-hero-title, .banner h1, .page-title h1, .entry-title {
    font-size: 1.22rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  h2, .h2, .section-title-main, .banner h2 {
    font-size: 1.06rem !important;
    line-height: 1.34 !important;
    margin-bottom: 10px !important;
  }

  h3, .h3, .fx-ice-card .box-text h3, .fx-ice-card .box-text h4, .post-item .post-title {
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
  }

  h4, .h4, h5, .h5, .featured-box h4, .featured-box h5, .fx-branch-card h4, .banner h4, .banner h5 {
    font-size: 0.88rem !important;
    line-height: 1.38 !important;
  }

  .fx-eyebrow {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.04em !important;
  }

  .fx-badge {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
    margin-bottom: 6px !important;
  }

  .section-title-container {
    margin-bottom: 1.15rem !important;
  }

  .section-title a {
    font-size: 0.8rem !important;
  }

  .banner .text-box {
    width: 92% !important;
    max-width: 92% !important;
  }

  .banner .text-box .text-inner {
    padding: 6px 2px !important;
  }

  .banner p,
  .banner p.lead,
  .page-title p,
  .page-header-excerpt {
    font-size: 0.81rem !important;
    line-height: 1.48 !important;
    margin-bottom: 12px !important;
  }

  .banner .stack {
    gap: 8px !important;
  }

  .banner a.button:not(.icon):not(.is-link),
  .banner button.button:not(.icon):not(.is-link) {
    min-height: 38px !important;
    padding: 7px 14px !important;
    font-size: 0.81rem !important;
  }

  .page-title-inner {
    min-height: 145px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .accordion-title {
    padding: 12px 14px 12px 38px !important;
    font-size: 0.88rem !important;
    line-height: 1.38 !important;
  }

  .accordion-inner {
    padding: 12px 14px !important;
  }

  a.button:not(.icon):not(.is-link),
  button.button:not(.icon):not(.is-link),
  input[type="submit"].button,
  input[type="submit"].wpcf7-submit {
    min-height: 40px !important;
    padding: 8px 14px !important;
    font-size: 0.84rem !important;
  }

  .footer-wrapper h3,
  #footer h3 {
    font-size: 0.92rem !important;
  }

  .footer-wrapper .ux-menu-title,
  .footer-wrapper .fx-footer-heading,
  #footer .ux-menu-title,
  #footer .fx-footer-heading {
    font-size: 0.88rem !important;
    margin: 8px 0 10px 0 !important;
    padding: 0 0 8px 0 !important;
  }

  .absolute-footer,
  .absolute-footer .footer-primary,
  .absolute-footer .copyright-footer {
    font-size: 0.75rem !important;
    padding: 8px 0 !important;
  }

  .fx-floating-contact {
    left: 8px !important;
    bottom: 58px !important;
    gap: 6px !important;
  }

  .fx-float-phone {
    padding: 4px 10px 4px 5px !important;
    font-size: 0.74rem !important;
    gap: 5px !important;
    border-width: 1.5px !important;
  }

  .fx-float-phone span.fx-phone-text {
    font-size: 0.74rem !important;
    letter-spacing: -0.01em !important;
  }

  .fx-float-phone-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .fx-float-phone-icon svg {
    width: 12px !important;
    height: 12px !important;
  }

  .fx-floating-social {
    right: 8px !important;
    bottom: 58px !important;
    gap: 8px !important;
  }

  .fx-float-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    border-width: 1.5px !important;
  }

  .fx-float-quote {
    font-size: 0.52rem !important;
    letter-spacing: -0.04em !important;
  }
}
