/*
 Theme Name:   T99 Flatsome Child
 Theme URI:    https://t99.vn
 Description:  T99.vn - Nền tảng so sánh tài chính thông minh. Custom child theme for Flatsome.
 Author:       T99 Team
 Author URI:   https://t99.vn
 Template:     flatsome
 Version:      2.9.3
 Text Domain:  t99
*/

/* ==========================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ========================================================================== */

:root {
  /* Primary - Xanh lá đậm (trust, finance, growth) */
  --t99-primary: #0B6E4F;
  --t99-primary-dark: #084D38;
  --t99-primary-light: #E8F5EF;
  --t99-primary-rgb: 11, 110, 79;
  --t99-primary-50: #f0faf5;

  /* Secondary - Navy (authority, stability) */
  --t99-secondary: #1B4965;
  --t99-secondary-dark: #0F2D40;
  --t99-secondary-light: #E6EEF3;

  /* Accent - Cam ấm (CTA, highlights) */
  --t99-accent: #F2994A;
  --t99-accent-hover: #E07E25;
  --t99-accent-light: #FEF3E8;

  /* Semantic */
  --t99-success: #27AE60;
  --t99-warning: #F2C94C;
  --t99-error: #EB5757;
  --t99-info: #2F80ED;

  /* Neutrals */
  --t99-white: #FFFFFF;
  --t99-gray-50: #F9FAFB;
  --t99-gray-100: #F3F4F6;
  --t99-gray-200: #E5E7EB;
  --t99-gray-300: #D1D5DB;
  --t99-gray-400: #9CA3AF;
  --t99-gray-500: #6B7280;
  --t99-gray-700: #374151;
  --t99-gray-900: #111827;

  /* Typography */
  --t99-font-heading: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --t99-font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --t99-leading-tight: 1.3;
  --t99-leading-normal: 1.6;
  --t99-leading-relaxed: 1.75;

  /* Spacing */
  --t99-section-py: 60px;
  --t99-container-px: 16px;

  /* Borders & Shadows */
  --t99-radius-sm: 6px;
  --t99-radius: 12px;
  --t99-radius-lg: 16px;
  --t99-radius-full: 9999px;
  --t99-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --t99-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --t99-shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --t99-shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --t99-shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);

  /* Transitions */
  --t99-transition: 200ms ease-in-out;
  --t99-transition-slow: 400ms ease-in-out;
}

/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */

body {
  font-family: var(--t99-font-body);
  line-height: var(--t99-leading-normal);
  color: var(--t99-gray-700);
  background-color: var(--t99-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.is-xlarge, .is-large {
  font-family: var(--t99-font-heading);
  line-height: var(--t99-leading-tight);
  color: var(--t99-gray-900);
  font-weight: 700;
}

h1 { font-size: clamp(1.875rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1em;
  max-width: 75ch;
}

/* ==========================================================================
   Flatsome Container Width Override — 1320px (Bootstrap 5 standard)
   ========================================================================== */
.container,
.container-width,
.row,
.row.row-collapse,
.row.row-small,
.row.row-large,
.row-main,
.full-width .row {
  max-width: 1320px !important;
}

.row,
.row.row-large {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

a {
  color: var(--t99-primary);
  transition: color var(--t99-transition);
}

a:hover {
  color: var(--t99-primary-dark);
}

img {
  border-radius: var(--t99-radius-sm);
}

/* ==========================================================================
   3. FLATSOME OVERRIDES
   ========================================================================== */

/* -- Header -- */
.header-wrapper {
  box-shadow: var(--t99-shadow-sm) !important;
}

.header-main {
  height: 64px !important;
  background-color: var(--t99-white) !important;
}

.stuck .header-main {
  height: 56px !important;
}

.logo img {
  max-height: 40px !important;
}

/* -- Navigation -- */
.nav > li > a {
  font-family: var(--t99-font-body) !important;
  font-weight: 500 !important;
  font-size: 0.9375rem !important;
  color: var(--t99-gray-700) !important;
  letter-spacing: 0;
  transition: color var(--t99-transition);
}

.nav > li > a {
  position: relative;
  padding-bottom: 4px !important;
}

.nav > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--t99-primary);
  transition: all 0.25s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav > li > a:hover,
.nav > li.active > a,
.nav > li.current-menu-item > a {
  color: var(--t99-primary) !important;
}

.nav > li > a:hover::after,
.nav > li.active > a::after,
.nav > li.current-menu-item > a::after {
  width: 100%;
}

.nav-dropdown {
  border-radius: var(--t99-radius) !important;
  box-shadow: var(--t99-shadow-lg) !important;
  border: 1px solid var(--t99-gray-200) !important;
  padding: 8px !important;
}

.nav-dropdown li a {
  border-radius: var(--t99-radius-sm) !important;
  padding: 10px 16px !important;
  font-size: 0.875rem !important;
  transition: background-color var(--t99-transition);
}

.nav-dropdown li a:hover {
  background-color: var(--t99-gray-50) !important;
}

/* -- Buttons -- */
.button,
button,
input[type="submit"] {
  font-family: var(--t99-font-body) !important;
  font-weight: 600 !important;
  border-radius: var(--t99-radius-sm) !important;
  letter-spacing: 0.02em;
  transition: all var(--t99-transition);
}

.button.primary,
.button.alt,
.checkout-button,
.wc-forward {
  background-color: var(--t99-primary) !important;
  color: var(--t99-white) !important;
  border: none !important;
}

.button.primary:hover,
.button.alt:hover {
  background-color: var(--t99-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--t99-shadow-md);
}

.button.secondary {
  background-color: transparent !important;
  color: var(--t99-primary) !important;
  border: 2px solid var(--t99-primary) !important;
}

.button.secondary:hover {
  background-color: var(--t99-primary-light) !important;
}

.button.accent {
  background-color: var(--t99-accent) !important;
  color: var(--t99-white) !important;
}

.button.accent:hover {
  background-color: var(--t99-accent-hover) !important;
}

/* -- Footer -- */
.footer-wrapper,
.absolute-footer {
  background-color: var(--t99-secondary-dark) !important;
}

.footer-wrapper *,
.absolute-footer * {
  color: var(--t99-gray-300) !important;
}

.footer-wrapper a:hover {
  color: var(--t99-white) !important;
}

.footer-wrapper h3,
.footer-wrapper .widget-title {
  color: var(--t99-white) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
  text-transform: none !important;
}

/* ==========================================================================
   4. T99 CUSTOM COMPONENTS
   ========================================================================== */

/* -- Section Styling -- */
.t99-section {
  padding: var(--t99-section-py) 0;
}

.t99-section-alt {
  background-color: var(--t99-gray-50);
}

.t99-section-dark {
  background-color: var(--t99-secondary-dark);
  color: var(--t99-white);
}

.t99-section-dark h2,
.t99-section-dark h3,
.t99-section-dark h4 {
  color: var(--t99-white);
}

.t99-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.t99-section-title h2 {
  margin-bottom: 8px;
}

.t99-section-title p {
  color: var(--t99-gray-500);
  font-size: 1.125rem;
  margin: 0 auto;
  max-width: 600px;
}

/* -- Section Label (uppercase with decorative lines) -- */
.t99-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t99-primary);
  margin-bottom: 12px;
}

.t99-section-label::before,
.t99-section-label::after {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--t99-primary);
  opacity: 0.3;
}

/* -- Hero Section -- */
.t99-hero {
  background: linear-gradient(135deg, var(--t99-primary) 0%, var(--t99-primary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.t99-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.t99-hero .t99-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--t99-radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.t99-hero h1 {
  color: var(--t99-white);
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 560px;
  margin-bottom: 16px;
}

.t99-hero .t99-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 480px;
  margin-bottom: 32px;
}

/* -- Hero Floating Badges -- */
@keyframes t99-float-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes t99-float-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.t99-hero-badge {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
.t99-hero-badge-1 {
  right: -80px;
  top: 20px;
  animation: t99-float-up 4s ease-in-out infinite;
}
.t99-hero-badge-2 {
  left: -30px;
  bottom: 10px;
  animation: t99-float-down 5s ease-in-out 1s infinite;
}
.t99-hero-badge:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
  animation-play-state: paused;
}
.t99-hero-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t99-hero-badge-icon-green {
  background: #E8F8EF;
  color: var(--t99-success, #27AE60);
}
.t99-hero-badge-icon-orange {
  background: var(--t99-accent-light, #FFF3E0);
}
.t99-hero-badge-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--t99-gray-900, #111827);
}
.t99-hero-badge-sub {
  font-size: 0.5625rem;
  color: var(--t99-gray-400, #9CA3AF);
}

/* -- Hero Search Bar -- */
.t99-search-bar {
  display: flex;
  background: var(--t99-white);
  border-radius: var(--t99-radius);
  padding: 6px;
  box-shadow: var(--t99-shadow-xl);
  max-width: 560px;
}

.t99-search-bar input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 1rem;
  font-family: var(--t99-font-body);
  background: transparent;
  outline: none;
  color: var(--t99-gray-700);
}

.t99-search-bar input::placeholder {
  color: var(--t99-gray-400);
}

.t99-search-bar button {
  background: var(--t99-primary);
  color: var(--t99-white);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t99-transition);
}

.t99-search-bar button:hover {
  background: var(--t99-primary-dark);
}

/* -- Quick Pills -- */
.t99-quick-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.t99-quick-pills a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.15);
  color: var(--t99-white);
  border-radius: var(--t99-radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--t99-transition);
  backdrop-filter: blur(4px);
}

.t99-quick-pills a:hover {
  background: rgba(255,255,255,0.25);
  color: var(--t99-white);
}

/* -- Category Cards -- */
.t99-category-card {
  background: var(--t99-white);
  border-radius: 4px 4px var(--t99-radius) var(--t99-radius);
  padding: 32px 28px;
  border: 1px solid var(--t99-gray-200);
  border-top: 3px solid var(--t99-primary);
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.t99-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11,110,79,0.1), 0 4px 12px rgba(0,0,0,0.04);
  border-color: transparent;
  border-top-color: var(--t99-primary);
  background: linear-gradient(180deg, var(--t99-primary-50) 0%, var(--t99-white) 40%);
}

.t99-category-card .t99-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--t99-primary-light), var(--t99-primary-50));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--t99-primary);
  font-size: 1.5rem;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(11,110,79,0.08);
}

.t99-category-card:hover .t99-icon {
  background: linear-gradient(135deg, var(--t99-primary), #10B981);
  color: var(--t99-white);
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(11,110,79,0.2);
}

.t99-category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.t99-category-card p {
  color: var(--t99-gray-500);
  font-size: 0.875rem;
  margin-bottom: 16px;
  max-width: 100%;
}

.t99-category-card .t99-badge {
  position: absolute;
  top: 18px;
  right: 16px;
  background: var(--t99-primary);
  color: var(--t99-white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--t99-radius-full);
  letter-spacing: 0.02em;
}

.t99-category-card .t99-link {
  color: var(--t99-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.t99-category-card .t99-link::after {
  content: '→';
  transition: transform var(--t99-transition);
}

.t99-category-card:hover .t99-link::after {
  transform: translateX(4px);
}

/* -- Steps / How It Works -- */
.t99-steps {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
}

.t99-step {
  flex: 1;
  text-align: center;
  position: relative;
  background: var(--t99-white);
  border-radius: 16px;
  padding: 36px 24px 28px;
  border: 1px solid var(--t99-gray-200);
  transition: all 0.3s ease;
}

/* Steps - col-inner styling */
.col.t99-step .col-inner {
  background: #fff;
  border-radius: 16px;
  padding: 24px 16px 20px;
  border: 1px solid #E5E7EB;
  text-align: center;
  height: 100%;
}

.col.t99-step .col-inner:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.col.t99-step {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.col.t99-step:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* Steps mobile: full width, reduce padding */
@media (max-width: 549px) {
  .col.t99-step {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    padding-bottom: 8px !important;
  }

  .col.t99-step .col-inner {
    padding: 14px 14px 12px !important;
  }

  .col.t99-step .t99-step-number {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
    margin-bottom: 10px !important;
  }

  .col.t99-step h4 {
    font-size: 1rem !important;
  }

  .col.t99-step p {
    font-size: 0.8125rem !important;
  }
}

.t99-step:hover {
  box-shadow: var(--t99-shadow-md);
  border-color: var(--t99-primary-light);
}

.t99-step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--t99-primary), #10B981);
  color: var(--t99-white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(11,110,79,0.25);
  font-family: var(--t99-font-heading);
}

/* Arrow between steps - disabled */
.t99-step:not(:last-child)::after {
  display: none !important;
}

.t99-step h4 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.t99-step p {
  color: var(--t99-gray-500);
  font-size: 0.875rem;
  max-width: 100%;
}

/* -- Tab Pills -- */
.t99-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.t99-tab {
  padding: 12px 24px;
  border-radius: var(--t99-radius-full);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.3;
  cursor: pointer;
  transition: all 200ms ease;
  border: none;
  background: var(--t99-gray-100);
  color: var(--t99-gray-700);
  font-family: var(--t99-font-body);
}

.t99-tab:hover {
  background: var(--t99-gray-200);
}

.t99-tab.active {
  background: var(--t99-primary);
  color: var(--t99-white);
  box-shadow: 0 2px 8px rgba(11,110,79,0.3);
}

/* -- Product Card -- */
.t99-product-card {
  background: var(--t99-white);
  border: 1px solid var(--t99-gray-200);
  border-radius: var(--t99-radius);
  padding: 24px;
  transition: all var(--t99-transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.t99-product-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: transparent;
  border-radius: 0 2px 2px 0;
  transition: all 0.3s ease;
}

.t99-product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  border-color: var(--t99-primary-light);
  transform: translateY(-2px);
}

.t99-product-card:hover::before {
  background: linear-gradient(180deg, var(--t99-primary), #10B981);
  box-shadow: 0 0 8px rgba(11,110,79,0.2);
}

.t99-product-card .t99-ribbon {
  position: absolute;
  top: 16px;
  right: -6px;
  background: var(--t99-accent);
  color: var(--t99-white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--t99-radius-sm) 0 0 var(--t99-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.t99-product-card .t99-ribbon::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  border-width: 6px 6px 0 0;
  border-style: solid;
  border-color: var(--t99-accent-hover) transparent transparent transparent;
}

.t99-product-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.t99-product-card-header img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--t99-gray-200);
  padding: 4px;
}

.t99-product-card-header .t99-bank-name {
  font-size: 0.8125rem;
  color: var(--t99-gray-500);
}

.t99-product-card-header .t99-licensed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  color: var(--t99-success);
  font-weight: 500;
}

.t99-product-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--t99-gray-900);
}

.t99-product-card-highlight {
  color: var(--t99-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.t99-product-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  flex: 1;
}

.t99-metric {
  background: var(--t99-gray-50);
  padding: 10px 12px;
  border-radius: var(--t99-radius-sm);
}

.t99-metric-label {
  font-size: 0.6875rem;
  color: var(--t99-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.t99-metric-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--t99-gray-900);
}

.t99-product-card-actions {
  display: flex;
  gap: 10px;
}

.t99-product-card-actions .t99-btn-primary {
  flex: 1;
  padding: 9px 16px;
  background: var(--t99-primary);
  color: var(--t99-white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t99-transition);
}

.t99-product-card-actions .t99-btn-primary:hover {
  background: var(--t99-primary-dark);
  color: var(--t99-white);
}

.t99-product-card-actions .t99-btn-ghost {
  padding: 9px 16px;
  background: transparent;
  color: var(--t99-primary);
  border: 1.5px solid var(--t99-gray-200);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t99-transition);
}

.t99-product-card-actions .t99-btn-ghost:hover {
  border-color: var(--t99-primary);
  background: var(--t99-primary-light);
}

/* -- Trust Stats Section (light green bg) -- */
.t99-trust-stats {
  background: var(--t99-primary-50);
  padding: 48px 0;
  position: relative;
}

.t99-trust-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,110,79,0.12), transparent);
}

.t99-trust-stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,110,79,0.12), transparent);
}

/* -- Stats Bar -- */
.t99-stats-bar,
.t99-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.t99-stat-item {
  padding: 12px 24px;
  position: relative;
}

.t99-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(11,110,79,0.12);
}

.t99-stat-number {
  font-family: var(--t99-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--t99-primary);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.t99-stat-number .t99-stat-suffix {
  font-size: 1.25rem;
  color: var(--t99-gray-400);
  font-weight: 500;
}

.t99-stat-label {
  font-size: 0.8125rem;
  color: var(--t99-gray-500);
  font-weight: 500;
}

/* -- Trust Badges Row (pill style) -- */
.t99-trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(11,110,79,0.08);
  flex-wrap: wrap;
}

.t99-trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--t99-radius-full);
  background: rgba(11,110,79,0.06);
  transition: all 0.2s ease;
  line-height: 1;
}

.t99-trust-badge-item svg {
  flex-shrink: 0;
  vertical-align: middle;
}

.t99-trust-badge-item:hover {
  background: rgba(11,110,79,0.12);
  color: #0B6E4F;
}

.t99-trust-badge-item > svg {
  opacity: 1;
  color: #0B6E4F;
  stroke: #0B6E4F;
  width: 15px;
  height: 15px;
}

/* -- Tool Card -- */
.t99-tool-card {
  background: var(--t99-white);
  border: 1px solid var(--t99-gray-200);
  border-radius: var(--t99-radius);
  padding: 24px;
  text-align: center;
  transition: all var(--t99-transition);
}

.t99-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--t99-shadow-md);
  border-color: var(--t99-primary-light);
}

/* Flatsome col with t99-tool-card class */
.col.t99-tool-card {
  border: none !important;
  background: transparent !important;
  padding: 0 8px !important;
}

.col.t99-tool-card .col-inner {
  background: #fff !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 24px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
  height: 100% !important;
}

.col.t99-tool-card .col-inner:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
  border-color: #E8F5EF !important;
}

.col.t99-tool-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.t99-tool-card .t99-icon {
  width: 48px;
  height: 48px;
  background: var(--t99-primary-light);
  border-radius: var(--t99-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--t99-primary);
  font-size: 1.25rem;
}

.t99-tool-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.t99-tool-card p {
  color: var(--t99-gray-500);
  font-size: 0.8125rem;
  margin-bottom: 12px;
  max-width: 100%;
}

.t99-tool-card .t99-link {
  color: var(--t99-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
}

/* -- T99 Blog Grid (custom shortcode) -- */
.t99-blog-grid {
  display: grid;
  gap: 24px;
}

.t99-blog-item {
  transition: transform 0.2s ease;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.t99-blog-item .t99-blog-body {
  padding: 16px 20px 20px !important;
}

.t99-blog-item:hover {
  transform: translateY(-3px);
}

.t99-blog-thumb {
  display: block;
  line-height: 0;
}

.t99-blog-thumb img {
  border-radius: 0 !important;
  transition: opacity 0.2s ease;
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.t99-blog-thumb:hover img {
  opacity: 0.9;
}

.t99-blog-cat {
  display: inline-block;
  background: var(--t99-primary-light);
  color: var(--t99-primary);
  border: none;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--t99-radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.t99-blog-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #111827;
}

.t99-blog-title a {
  color: #111827;
  text-decoration: none;
}

.t99-blog-title a:hover {
  color: #0B6E4F;
}

.t99-blog-excerpt {
  color: #6B7280;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.t99-blog-meta {
  color: #9CA3AF;
  font-size: 0.75rem;
}

@media (max-width: 549px) {
  .t99-blog-grid {
    grid-template-columns: 1fr !important;
  }
}

/* -- Blog Card (legacy) -- */
.t99-blog-card {
  border-radius: var(--t99-radius);
  overflow: hidden;
  transition: all var(--t99-transition);
}

.t99-blog-card:hover {
  box-shadow: var(--t99-shadow-md);
}

.t99-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.t99-blog-card-body {
  padding: 20px;
}

.t99-blog-card .t99-category-tag {
  display: inline-block;
  background: var(--t99-primary-light);
  color: var(--t99-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--t99-radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.t99-blog-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.t99-blog-card h3 a {
  color: var(--t99-gray-900);
  text-decoration: none;
}

.t99-blog-card h3 a:hover {
  color: var(--t99-primary);
}

.t99-blog-card .t99-meta {
  color: var(--t99-gray-400);
  font-size: 0.8125rem;
}

/* -- CTA Band (premium green gradient — distinct from dark-blue footer) -- */
.t99-cta-band {
  background: linear-gradient(135deg, #0B3D2E 0%, #0B6E4F 40%, #1B4965 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.t99-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(11,110,79,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(242,153,74,0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.t99-cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(60deg, rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(-60deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.t99-cta-band .row,
.t99-cta-band .col {
  position: relative;
  z-index: 1;
}

.t99-cta-band h3 {
  color: var(--t99-white) !important;
  font-size: 1.375rem;
  margin-bottom: 6px;
}

.t99-cta-band p {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.9375rem;
}

/* -- Footer Company Info with SVG Icons -- */
.t99-footer-company-info {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--t99-gray-400) !important;
  margin-bottom: 16px;
}

.t99-footer-company-name {
  margin-bottom: 6px;
  color: var(--t99-gray-300) !important;
  font-weight: 500;
}

.t99-footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.t99-footer-info-row svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.t99-footer-social-links {
  display: flex;
  gap: 10px;
}

.t99-footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t99-gray-400) !important;
  transition: all 0.25s ease;
}

.t99-footer-social-link:hover {
  background: var(--t99-primary);
  color: var(--t99-white) !important;
  transform: translateY(-2px);
}

/* -- Footer Trust Badges Row -- */
.t99-footer-trust-row {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.t99-footer-trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}

.t99-footer-trust-badge {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.t99-footer-trust-badge .t99-badge-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t99-footer-trust-badge .t99-badge-text {
  font-size: 0.6875rem;
  line-height: 1.3;
}

.t99-footer-trust-badge .t99-badge-title {
  color: var(--t99-gray-300) !important;
  font-weight: 600;
}

.t99-footer-trust-badge .t99-badge-subtitle {
  color: var(--t99-gray-500) !important;
}

.t99-footer-disclaimer {
  font-size: 0.75rem;
  color: var(--t99-gray-500) !important;
  text-align: right;
  line-height: 1.6;
}

/* -- Footer Bottom with System Status -- */
.t99-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 12px;
}

.t99-system-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t99-status-dot {
  width: 6px;
  height: 6px;
  background: var(--t99-success);
  border-radius: 50%;
  display: inline-block;
  animation: t99-pulse-dot 2s ease-in-out infinite;
}

@keyframes t99-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* -- Trust Badges (legacy) -- */
.t99-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.t99-trust-badges img {
  height: 36px;
  opacity: 0.7;
  transition: opacity var(--t99-transition);
}

.t99-trust-badges img:hover {
  opacity: 1;
}

/* ==========================================================================
   5. PRODUCT LISTING PAGE
   ========================================================================== */

.t99-filter-bar {
  position: sticky;
  top: 64px;
  z-index: 99;
  background: var(--t99-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--t99-gray-200);
  margin-bottom: 32px;
}

.t99-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.t99-filter-pill {
  padding: 8px 16px;
  border-radius: var(--t99-radius-full);
  border: 1.5px solid var(--t99-gray-200);
  background: var(--t99-white);
  color: var(--t99-gray-700);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t99-transition);
  font-family: var(--t99-font-body);
}

.t99-filter-pill:hover {
  border-color: var(--t99-primary);
  color: var(--t99-primary);
}

.t99-filter-pill.active {
  background: var(--t99-primary);
  color: var(--t99-white);
  border-color: var(--t99-primary);
}

/* Full-width product listing card */
.t99-listing-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--t99-white);
  border: 1px solid var(--t99-gray-200);
  border-radius: var(--t99-radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: all var(--t99-transition);
}

.t99-listing-card:hover {
  box-shadow: var(--t99-shadow-md);
  border-color: var(--t99-primary-light);
}

/* Card image container - fixed ratio for both landscape & portrait cards */
.t99-listing-card-logo {
  flex-shrink: 0;
  width: 130px;
  height: 82px;
  border-radius: 10px;
  border: 1.5px solid var(--t99-gray-100);
  background: var(--t99-gray-50);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t99-listing-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

/* When using actual card image */
.t99-listing-card-logo.has-card-image {
  width: 140px;
  height: 88px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.t99-listing-card-logo.has-card-image img {
  padding: 0;
  border-radius: var(--t99-radius-sm);
}

/* Small bank logo badge overlay */
.t99-listing-card-logo .t99-bank-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: var(--t99-white);
  border-radius: 6px;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t99-listing-card-logo .t99-bank-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.t99-listing-card-content {
  flex: 1;
  min-width: 0;
}

.t99-listing-card-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.t99-listing-card-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.t99-listing-card-pills span {
  display: inline-block;
  background: var(--t99-gray-100);
  color: var(--t99-gray-700);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--t99-radius-full);
}

/* ==========================================================================
   6. PRODUCT DETAIL PAGE
   ========================================================================== */

.t99-detail-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.t99-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.t99-detail-metric {
  background: var(--t99-gray-50);
  border-radius: var(--t99-radius);
  padding: 20px;
  text-align: center;
}

.t99-detail-metric .t99-metric-label {
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.t99-detail-metric .t99-metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t99-primary);
}

/* Tab override for detail pages */
.t99-detail-tabs .tabgroup {
  border: none !important;
}

.t99-detail-tabs .tabgroup .menu-item a {
  font-family: var(--t99-font-body) !important;
  font-weight: 600 !important;
  color: var(--t99-gray-500) !important;
  border-bottom: 2px solid transparent !important;
  padding: 12px 20px !important;
  transition: all var(--t99-transition);
}

.t99-detail-tabs .tabgroup .menu-item.active a {
  color: var(--t99-primary) !important;
  border-bottom-color: var(--t99-primary) !important;
}

/* Pros & Cons */
.t99-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.t99-pros li,
.t99-cons li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.t99-pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--t99-success);
  font-weight: 700;
}

.t99-cons li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--t99-error);
  font-weight: 700;
}

/* Sticky mobile CTA bar */
.t99-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--t99-white);
  padding: 12px 16px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
  justify-content: space-between;
  align-items: center;
}

.t99-sticky-cta .t99-product-name {
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}

.t99-sticky-cta .t99-btn-primary {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* ==========================================================================
   7. COMPARISON PAGE
   ========================================================================== */

.t99-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}

.t99-compare-table th,
.t99-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--t99-gray-200);
  text-align: left;
  vertical-align: top;
}

.t99-compare-table th:first-child,
.t99-compare-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--t99-white);
  font-weight: 600;
  color: var(--t99-gray-500);
  font-size: 0.8125rem;
  min-width: 140px;
  z-index: 1;
}

.t99-compare-table thead th {
  background: var(--t99-gray-50);
  font-weight: 700;
  border-bottom: 2px solid var(--t99-gray-200);
}

.t99-compare-table .t99-best {
  background: var(--t99-primary-light);
  font-weight: 600;
  color: var(--t99-primary);
}

/* ==========================================================================
   8. CALCULATOR PAGE
   ========================================================================== */

.t99-calculator {
  background: var(--t99-white);
  border: 1px solid var(--t99-gray-200);
  border-radius: var(--t99-radius);
  padding: 32px;
}

.t99-calculator label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--t99-gray-700);
  margin-bottom: 8px;
}

.t99-calculator input[type="number"],
.t99-calculator select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--t99-gray-200);
  border-radius: var(--t99-radius-sm);
  font-size: 1rem;
  font-family: var(--t99-font-body);
  color: var(--t99-gray-700);
  transition: border-color var(--t99-transition);
}

.t99-calculator input:focus,
.t99-calculator select:focus {
  border-color: var(--t99-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--t99-primary-rgb), 0.15);
}

/* Range slider */
.t99-range-group {
  margin-bottom: 24px;
}

.t99-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.t99-range-value {
  font-weight: 700;
  color: var(--t99-primary);
  font-size: 1.125rem;
}

input[type="range"].t99-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--t99-gray-200);
  outline: none;
}

input[type="range"].t99-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--t99-primary);
  cursor: pointer;
  border: 3px solid var(--t99-white);
  box-shadow: var(--t99-shadow-md);
}

.t99-result-box {
  background: var(--t99-primary-light);
  border-radius: var(--t99-radius);
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}

.t99-result-main {
  font-family: var(--t99-font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--t99-primary);
  margin-bottom: 4px;
}

.t99-result-label {
  font-size: 0.875rem;
  color: var(--t99-gray-500);
}

.t99-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.t99-result-item {
  padding: 12px;
  background: var(--t99-white);
  border-radius: var(--t99-radius-sm);
}

/* ==========================================================================
   9. UTILITY CLASSES
   ========================================================================== */

.t99-text-primary { color: var(--t99-primary) !important; }
.t99-text-accent { color: var(--t99-accent) !important; }
.t99-text-gray { color: var(--t99-gray-500) !important; }
.t99-text-white { color: var(--t99-white) !important; }
.t99-bg-primary { background-color: var(--t99-primary) !important; }
.t99-bg-light { background-color: var(--t99-gray-50) !important; }
.t99-bg-dark { background-color: var(--t99-secondary-dark) !important; }

.t99-text-center { text-align: center !important; }
.t99-text-left { text-align: left !important; }

.t99-mb-0 { margin-bottom: 0 !important; }
.t99-mb-8 { margin-bottom: 8px !important; }
.t99-mb-16 { margin-bottom: 16px !important; }
.t99-mb-24 { margin-bottom: 24px !important; }
.t99-mb-32 { margin-bottom: 32px !important; }
.t99-mb-40 { margin-bottom: 40px !important; }

.t99-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--t99-container-px);
}

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --t99-section-py: 40px;
    --t99-container-px: 16px;
  }

  .t99-hero {
    padding: 48px 0;
    text-align: center;
  }

  .t99-hero h1 {
    max-width: 100%;
  }

  .t99-hero .t99-subtitle {
    max-width: 100%;
  }

  .t99-search-bar {
    flex-direction: column;
    max-width: 100%;
  }

  .t99-search-bar button {
    width: 100%;
  }

  .t99-quick-pills {
    justify-content: center;
  }

  .t99-steps {
    flex-direction: column;
    gap: 24px;
  }

  .t99-step:not(:last-child)::after {
    display: none;
  }

  .t99-stats-bar,
  .t99-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .t99-stat-item:not(:last-child)::after {
    display: none;
  }

  .t99-footer-trust-row {
    flex-direction: column;
    text-align: center;
  }

  .t99-footer-trust-badges {
    flex-direction: column;
    gap: 12px;
  }

  .t99-footer-disclaimer {
    text-align: center;
  }

  .t99-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .t99-detail-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .t99-pros-cons {
    grid-template-columns: 1fr;
  }

  .t99-sticky-cta {
    display: flex;
  }

  .t99-listing-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .t99-listing-card-actions {
    flex-direction: row;
    width: 100%;
  }

  .t99-result-grid {
    grid-template-columns: 1fr;
  }

  .t99-compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --t99-section-py: 48px;
  }
}

/* ==========================================================================
   11. ANIMATIONS
   ========================================================================== */

@keyframes t99-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.t99-animate {
  animation: t99-fadeInUp 0.6s ease-out forwards;
}

/* Scroll-triggered animation placeholder */
.t99-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.t99-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. PRINT STYLES
   ========================================================================== */

@media print {
  .header-wrapper,
  .footer-wrapper,
  .t99-sticky-cta,
  .t99-search-bar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ==========================================================================
   13. HOMEPAGE FIX - Desktop + Mobile
   ========================================================================== */

/* --- Fix search bar --- */
.t99-search-bar button,
.hero .t99-search-bar button,
[class*="section"] .t99-search-bar button {
  font-size: 0.9375rem !important;
  padding: 14px 24px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

/* --- Fix category cards text align --- */
.t99-category-card,
[class*="col"] .t99-category-card {
  text-align: center !important;
}

.t99-category-card h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

.t99-category-card p {
  font-style: normal !important;
  color: var(--t99-gray-500) !important;
  font-size: 0.875rem !important;
}

.t99-category-card .t99-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
}

.t99-category-card .t99-link {
  font-style: normal !important;
  font-weight: 600 !important;
}

/* --- Fix steps heading italic --- */
.t99-step h4 {
  font-style: normal !important;
  font-weight: 700 !important;
}

.t99-step p {
  font-style: normal !important;
}

/* --- Fix "XEM TẤT CẢ" button --- */
.button.primary,
a.button.primary {
  text-transform: none !important;
  font-size: 0.9375rem !important;
  letter-spacing: 0 !important;
  padding: 12px 28px !important;
  border-radius: var(--t99-radius-sm) !important;
}

/* --- Fix tool cards --- */
.t99-tool-card h4 {
  font-style: normal !important;
  font-weight: 700 !important;
}

.t99-tool-card p {
  font-style: normal !important;
}

.t99-tool-card .t99-icon {
  width: 48px !important;
  height: 48px !important;
  background: var(--t99-primary-light) !important;
  border-radius: var(--t99-radius) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 12px !important;
  color: var(--t99-primary) !important;
}

/* --- Fix section headings italic from Flatsome --- */
.section-title h2,
[class*="section"] h2 {
  font-style: normal !important;
}

.section-title p,
[class*="section"] .t99-section-title p {
  font-style: normal !important;
}

/* --- Fix Flatsome overriding fonts --- */
.page-template-page-blank h1,
.page-template-page-blank h2,
.page-template-page-blank h3,
.page-template-page-blank h4 {
  font-family: var(--t99-font-heading) !important;
  font-style: normal !important;
}

.page-template-page-blank p,
.page-template-page-blank span,
.page-template-page-blank a {
  font-family: var(--t99-font-body) !important;
}

/* --- Fix stats bar on homepage --- */
.t99-stats-grid,
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  text-align: center !important;
}

.t99-stat-item .t99-stat-number,
.stat-item .stat-number {
  font-family: var(--t99-font-heading) !important;
  color: var(--t99-primary) !important;
  font-style: normal !important;
}

/* ==========================================================================
   14. MOBILE RESPONSIVE FIX
   ========================================================================== */

@media (max-width: 849px) {
  /* --- Hero: ẩn phone mockup trên mobile --- */
  .hero-visual,
  .t99-hero-visual,
  [class*="hide-for-small"] {
    display: none !important;
  }

  /* --- Hero text center --- */
  .t99-hero,
  [class*="section"][class*="hero"] {
    text-align: center !important;
    padding: 40px 16px !important;
  }

  .t99-hero h1 {
    font-size: 1.75rem !important;
    max-width: 100% !important;
  }

  .t99-hero .t99-subtitle {
    font-size: 1rem !important;
    max-width: 100% !important;
  }

  .t99-eyebrow {
    font-size: 0.75rem !important;
  }

  /* --- Search bar stack vertical --- */
  .t99-search-bar {
    flex-direction: column !important;
    max-width: 100% !important;
    gap: 8px !important;
  }

  .t99-search-bar input {
    padding: 14px 16px !important;
    font-size: 0.9375rem !important;
    border-radius: 8px !important;
  }

  .t99-search-bar button {
    width: 100% !important;
    border-radius: 8px !important;
    padding: 14px !important;
  }

  /* --- Quick pills center --- */
  .t99-quick-pills {
    justify-content: center !important;
  }

  /* --- Category cards: 1 column --- */
  .t99-category-card {
    margin-bottom: 12px !important;
  }

  /* --- Steps: 1 column, hide chevron --- */
  .t99-step:not(:last-child)::after {
    display: none !important;
  }

  /* --- Stats: 2x2 grid --- */
  .t99-stats-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .t99-stat-item:not(:last-child)::after,
  .stat-item:not(:last-child)::after {
    display: none !important;
  }

  .t99-stat-number,
  .stat-number {
    font-size: 1.75rem !important;
  }

  /* --- Tool cards: 2x2 grid --- */
  .t99-tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* --- Blog: 1 column --- */
  .t99-blog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* --- Section padding tighter --- */
  .t99-section,
  [class*="section"] {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  /* --- Fix Flatsome row/col on mobile --- */
  .row .col {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* --- Trust badges wrap --- */
  .t99-trust-badges {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  /* --- Footer: 1 column on small mobile --- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  .t99-hero h1 {
    font-size: 1.5rem !important;
  }

  .t99-stats-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .t99-stat-number,
  .stat-number {
    font-size: 1.5rem !important;
  }

  .t99-category-card h3 {
    font-size: 1.125rem !important;
  }

  .t99-tool-card h4 {
    font-size: 0.875rem !important;
  }
}

/* ==========================================================================
   FIX: Homepage CSS Issues - 2026-03-26
   ========================================================================== */

/* --- Fix 1: Stats numbers cut off (lineHeight too tight) --- */
.t99-stat-number,
.stat-number,
[data-count] {
  line-height: 1.2 !important;
  padding-top: 4px !important;
  overflow: visible !important;
  font-family: var(--t99-font-heading) !important;
}

/* --- Fix 2: Stats section spacing & trust badges --- */
.t99-stats-section,
.t99-trust-section {
  padding: 48px 0 !important;
}

.t99-trust-badges-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 32px !important;
  margin-top: 24px !important;
  flex-wrap: wrap !important;
}

.t99-trust-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255,255,255,0.08) !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  color: var(--t99-gray-300) !important;
  font-size: 0.8125rem !important;
}

/* --- Fix 3: Search bar polish --- */
.t99-search-bar {
  max-width: 560px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
}

.t99-search-bar input {
  font-size: 0.9375rem !important;
}

.t99-search-bar button {
  text-transform: none !important;
  font-size: 0.9375rem !important;
  padding: 12px 24px !important;
  letter-spacing: 0 !important;
}

/* --- Fix 4: Category cards polish --- */
.t99-category-card {
  border-top: 3px solid var(--t99-primary) !important;
  text-align: center !important;
}

.t99-category-card .t99-badge {
  position: absolute !important;
  top: -12px !important;
  right: 16px !important;
}

.t99-category-card .t99-icon {
  margin: 0 auto 16px !important;
}

.t99-category-card p {
  color: var(--t99-gray-500) !important;
  font-size: 0.875rem !important;
  max-width: 100% !important;
  margin: 0 auto 16px !important;
}

/* --- Fix 5: Steps chevron arrows --- */
.t99-step {
  position: relative !important;
}

/* --- Fix 6: Product card improvements --- */
.t99-product-card {
  border: 1px solid var(--t99-gray-200) !important;
  border-radius: 12px !important;
  overflow: visible !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.t99-product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  border-color: var(--t99-primary-light) !important;
  transform: translateY(-2px) !important;
}

.t99-product-card-actions {
  margin-top: auto !important;
}

/* Ribbon - uses base styles from line 702, no override needed */


/* --- Fix 8: Blog section --- */
.t99-blog-section .blog_posts {
  display: grid !important;
}

/* Force blog grid 3 columns when only 1 post shows */
.t99-blog-section .row {
  display: flex !important;
}

/* --- Fix 9: Tool cards icon background --- */
.t99-tool-card {
  background: white !important;
  border: 1px solid var(--t99-gray-200) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  text-align: center !important;
  transition: all 200ms ease !important;
}

.t99-tool-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08) !important;
  border-color: var(--t99-primary-light) !important;
}

.t99-tool-card .t99-icon {
  width: 52px !important;
  height: 52px !important;
  background: var(--t99-primary-light) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 14px !important;
  color: var(--t99-primary) !important;
}

.t99-tool-card .t99-icon svg {
  color: var(--t99-primary) !important;
  stroke: var(--t99-primary) !important;
}

.t99-tool-card .t99-icon {
  transition: all 0.3s ease !important;
}
.col.t99-tool-card:hover .t99-icon,
.t99-tool-card:hover .t99-icon {
  background: linear-gradient(135deg, #0B6E4F, #10B981) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(11,110,79,0.2) !important;
  transform: scale(1.05) !important;
}
.col.t99-tool-card:hover .t99-icon svg,
.t99-tool-card:hover .t99-icon svg {
  stroke: #fff !important;
  color: #fff !important;
}

/* --- Fix 10: CTA band premium gradient --- */
.t99-cta-band {
  background: linear-gradient(135deg, #0B3D2E 0%, #0B6E4F 40%, #1B4965 100%) !important;
}

/* CTA button - accent orange for contrast */
.t99-cta-band .button.primary,
.t99-cta-band .t99-btn-accent,
.t99-cta-band a.button.primary {
  background: #F2994A !important;
  color: #fff !important;
  border: none !important;
}

.t99-cta-band .button.primary:hover,
.t99-cta-band .t99-btn-accent:hover {
  background: #E07E25 !important;
}

/* Chat button - white outline, match hotline size */
.t99-cta-band .button.secondary,
.t99-cta-band a.button.secondary {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff !important;
  padding: 13px 28px !important;
  font-size: 1rem !important;
}

.t99-cta-band .button.secondary:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* Both CTA buttons same size */
.t99-cta-band .button.primary,
.t99-cta-band .button.secondary {
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* --- Fix 11: Flatsome overrides for better typography --- */
.section-title {
  font-family: var(--t99-font-heading) !important;
}

.section-title small,
.section-title + p {
  font-family: var(--t99-font-body) !important;
  color: var(--t99-gray-500) !important;
}

/* --- Fix 12: Header nav active state --- */
.header-nav .nav > li.current-menu-item > a,
.header-nav .nav > li.current-menu-ancestor > a {
  color: var(--t99-primary) !important;
  font-weight: 600 !important;
}

/* --- Fix 13: "Xem tất cả" button style + center --- */
a.button.primary[href*="the-tin-dung"],
a.button[href*="the-tin-dung"],
.t99-view-all-btn {
  text-transform: none !important;
  font-size: 0.9375rem !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  letter-spacing: 0 !important;
}

.t99-view-all {
  text-align: center;
  margin-top: 28px;
}
.t99-view-all a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--t99-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.t99-view-all a:hover {
  gap: 10px;
  color: var(--t99-primary-dark);
}


/* --- Fix 14: Footer polish --- */
.footer-wrapper {
  background: var(--t99-secondary-dark) !important;
}

.footer-wrapper .widget-title,
.footer-wrapper h3 {
  color: white !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 16px !important;
}

.footer-wrapper a {
  color: var(--t99-gray-300) !important;
  font-size: 0.875rem !important;
}

.footer-wrapper a:hover {
  color: white !important;
}

/* --- Fix 15: General Flatsome button override --- */
.button,
button:not(.t99-tab) {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Specific fix for "XEM TẤT CẢ SẢN PHẨM" button */
.button.primary.is-large,
.button.primary.is-xlarge {
  text-transform: none !important;
  font-size: 0.9375rem !important;
  padding: 14px 32px !important;
  letter-spacing: 0 !important;
}

/* ==========================================================================
   FIX: Mobile Responsive - 2026-03-26
   ========================================================================== */

@media (max-width: 768px) {
  /* Hero */
  .t99-hero {
    padding: 40px 0 !important;
    text-align: center !important;
  }

  .t99-hero h1 {
    font-size: 1.75rem !important;
    max-width: 100% !important;
  }

  .t99-hero .t99-subtitle {
    max-width: 100% !important;
  }

  .t99-search-bar {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  .t99-search-bar button {
    width: 100% !important;
  }

  .t99-quick-pills {
    justify-content: center !important;
  }

  /* Hide phone mockup on mobile */
  .t99-phone-mockup,
  .t99-hero-phone {
    display: none !important;
  }

  /* Category cards stack */
  .t99-category-card {
    margin-bottom: 16px !important;
  }

  /* Steps vertical */
  .t99-steps-row {
    flex-direction: column !important;
  }

  .t99-step-chevron {
    display: none !important;
  }

  /* Stats 2 columns */
  .t99-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* Product cards single column */
  .t99-product-card {
    margin-bottom: 16px !important;
  }

  /* Tool cards 2 columns */
  .t99-tool-card {
    margin-bottom: 12px !important;
  }

  /* Footer single column */
  .t99-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Sticky CTA bar */
  .t99-sticky-cta {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: white !important;
    padding: 12px 16px !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
  }
}

@media (max-width: 480px) {
  .t99-hero h1 {
    font-size: 1.5rem !important;
  }

  .t99-stat-number {
    font-size: 1.75rem !important;
  }

  .t99-eyebrow {
    font-size: 0.6875rem !important;
    padding: 4px 12px !important;
  }

  .t99-product-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .t99-metric {
    padding: 8px !important;
  }

  .t99-metric-label {
    font-size: 0.625rem !important;
  }

  .t99-metric-value {
    font-size: 0.8125rem !important;
  }
}

/* ==========================================================================
   FIX: Search Bar - WordPress auto-inserts <br> tags
   ========================================================================== */

/* Force search bar to be horizontal flex, hide any <br> */
.t99-search-bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  background: var(--t99-white, #fff) !important;
  border-radius: 12px !important;
  padding: 6px !important;
  box-shadow: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04) !important;
  max-width: 560px !important;
  gap: 0 !important;
  overflow: hidden !important;
}

/* Kill any <br> WordPress auto-inserts */
.t99-search-bar br {
  display: none !important;
}

.t99-search-bar input[type="text"],
.t99-search-bar input[type="search"] {
  flex: 1 !important;
  border: none !important;
  padding: 14px 20px !important;
  font-size: 0.9375rem !important;
  font-family: var(--t99-font-body, Inter, sans-serif) !important;
  background: transparent !important;
  outline: none !important;
  color: var(--t99-gray-700, #374151) !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto !important;
  line-height: 1.4 !important;
}

.t99-search-bar input::placeholder {
  color: var(--t99-gray-400, #9CA3AF) !important;
  font-size: 0.875rem !important;
}

.t99-search-bar button {
  background: var(--t99-primary, #0B6E4F) !important;
  color: var(--t99-white, #fff) !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 200ms ease !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.t99-search-bar button:hover {
  background: var(--t99-primary-dark, #084D38) !important;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
  .t99-search-bar {
    flex-direction: column !important;
    max-width: 100% !important;
  }

  .t99-search-bar input[type="text"],
  .t99-search-bar input[type="search"] {
    padding: 14px 16px !important;
  }

  .t99-search-bar button {
    width: 100% !important;
    padding: 14px !important;
    border-radius: 8px !important;
  }
}

/* ==========================================================================
   T99 CATEGORY CARDS - Clean implementation via [ux_html]
   ========================================================================== */

.t99-cat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.t99-cat-card p {
  flex: 1;
}

.t99-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.t99-cat-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #E8F5EF;
  color: #0B6E4F;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
}

.t99-cat-icon {
  width: 56px;
  height: 56px;
  background: #E8F5EF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.3s ease;
}

.t99-cat-card:hover .t99-cat-icon {
  background: linear-gradient(135deg, #0B6E4F, #10B981);
}

.t99-cat-card:hover .t99-cat-icon svg {
  stroke: #fff;
}

.t99-cat-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.t99-cat-card p {
  color: #6B7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.t99-cat-link {
  color: #0B6E4F;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s;
}

.t99-cat-link:hover {
  color: #084D38;
}

/* Equal height category cards */
.t99-cat-section .col {
  display: flex !important;
}

.t99-cat-section .col-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

@media (max-width: 549px) {
  .t99-cat-section .col {
    margin-bottom: 12px !important;
  }
}

/* ==========================================================================
   FLOATING COMPARE BAR
   ========================================================================== */

#t99-compare-bar {
  background: #fff !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12) !important;
  border-top: 2px solid #0B6E4F !important;
  padding: 16px 32px 20px !important;
  z-index: 99999 !important;
}

/* Cards row - thumbnails */
#t99-compare-bar .t99-compare-cards-row {
  display: flex !important;
  gap: 20px !important;
  align-items: flex-end !important;
}

/* Each card thumbnail item */
#t99-compare-bar .t99-compare-cards-row > div {
  width: 90px !important;
  flex-shrink: 0 !important;
  text-align: center !important;
  position: relative !important;
}

/* Card image - fixed size */
#t99-compare-bar .t99-compare-cards-row img {
  width: 80px !important;
  height: 50px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
  background: #F3F4F6 !important;
  padding: 4px !important;
}

/* Card name text */
#t99-compare-bar .t99-compare-cards-row > div > div:last-of-type {
  font-size: 0.625rem !important;
  color: #374151 !important;
  line-height: 1.3 !important;
  max-height: 2.6em !important;
  overflow: hidden !important;
}

/* X remove button */
#t99-compare-bar .t99-compare-cards-row button {
  position: absolute !important;
  top: -8px !important;
  right: 0 !important;
  width: 20px !important;
  height: 20px !important;
  background: #374151 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  font-size: 0.5625rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* Bottom row - cards + buttons aligned */
#t99-compare-bar > div:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

/* Buttons wrapper */
#t99-compare-bar > div:last-child > div:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

/* Both buttons same size */
#t99-compare-bar > div:last-child > div:last-child button,
#t99-compare-bar .t99-compare-go {
  height: 46px !important;
  padding: 0 28px !important;
  border-radius: 8px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: all 0.2s !important;
  line-height: 1 !important;
}

/* Hủy style */
#t99-compare-bar > div:last-child > div:last-child button {
  border: 1px solid #D1D5DB !important;
  background: #fff !important;
  color: #374151 !important;
}

#t99-compare-bar > div:last-child > div:last-child button:hover {
  border-color: #9CA3AF !important;
  background: #F9FAFB !important;
}

/* So sánh thẻ style */
#t99-compare-bar .t99-compare-go {
  font-weight: 700 !important;
}

/* Mobile compare bar */
@media (max-width: 767px) {
  #t99-compare-bar {
    padding: 12px 16px 16px !important;
  }
  #t99-compare-bar .t99-compare-cards-row {
    gap: 12px !important;
  }
  #t99-compare-bar .t99-compare-cards-row > div {
    width: 70px !important;
  }
  #t99-compare-bar .t99-compare-cards-row img {
    width: 60px !important;
    height: 38px !important;
  }
}

/* ==========================================================================
   BLOG & CATEGORY STYLES
   ========================================================================== */

/* Blog cards polish */
.post-item .box {
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.2s !important;
  box-shadow: none !important;
}

.post-item .box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  border-color: var(--t99-primary-light) !important;
}

.post-item .box-image {
  border-radius: 12px 12px 0 0 !important;
  overflow: hidden !important;
}

.post-item .box-image img {
  border-radius: 0 !important;
  transition: transform 0.3s !important;
}

.post-item .box:hover .box-image img {
  transform: scale(1.03) !important;
}

.post-item .box-text {
  padding: 16px 20px 20px !important;
}

.post-item .box-text .post-title {
  font-family: var(--t99-font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
}

.post-item .box-text .post-title a {
  color: #111827 !important;
  text-decoration: none !important;
}

.post-item .box-text .post-title a:hover {
  color: var(--t99-primary) !important;
}

/* Category badge */
.post-item .box-text .post-cat,
.post-item .badge {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.post-item .badge.outline {
  border: 1px solid var(--t99-primary) !important;
  color: var(--t99-primary) !important;
  background: transparent !important;
  padding: 3px 10px !important;
  border-radius: 50px !important;
}

/* Excerpt */
.post-item .box-text .from_the_blog_excerpt,
.post-item .box-text p {
  font-size: 0.8125rem !important;
  color: #6B7280 !important;
  line-height: 1.6 !important;
}

/* Date */
.post-item .box-text .post-date,
.post-item .post-date {
  font-size: 0.75rem !important;
  color: #9CA3AF !important;
}

/* Date badge on image - hide */
.post-item .box-image .badge.is-outline,
.post-item .box-image .post-date-badge {
  display: none !important;
}

/* Category filter pills */
.t99-cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.t99-cat-pill {
  padding: 8px 20px;
  background: #F3F4F6;
  color: #374151;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.t99-cat-pill:hover {
  background: #E5E7EB;
  color: #111827;
}

.t99-cat-pill.active {
  background: #0B6E4F;
  color: #fff;
}

/* Category archive header */
.t99-cat-header {
  background: #0B6E4F;
  padding: 48px 0;
  text-align: center;
  margin-bottom: 32px;
}

.t99-cat-header h1 {
  color: #fff !important;
  font-size: 1.5rem !important;
  margin-bottom: 8px !important;
}

.t99-cat-header p {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.9375rem !important;
}

/* Single blog post */
.single-post .entry-title {
  font-family: var(--t99-font-heading) !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111827 !important;
}

.single-post .entry-content {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #374151 !important;
}

.single-post .entry-content h2 {
  font-size: 1.375rem !important;
  margin-top: 32px !important;
  margin-bottom: 12px !important;
}

.single-post .entry-content h3 {
  font-size: 1.125rem !important;
  margin-top: 24px !important;
  margin-bottom: 8px !important;
}

.single-post .entry-content p {
  margin-bottom: 16px !important;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  padding-left: 24px !important;
  margin-bottom: 16px !important;
}

.single-post .entry-content li {
  margin-bottom: 6px !important;
  line-height: 1.7 !important;
}

.single-post .entry-content img {
  border-radius: 8px !important;
  margin: 16px 0 !important;
}

/* Author box */
.post-author-box {
  background: #F9FAFB !important;
  border-radius: 12px !important;
  padding: 24px !important;
  border: 1px solid #E5E7EB !important;
}

/* Related posts */
.related-posts .post-title {
  font-size: 0.9375rem !important;
}

/* ==========================================================================
   DETAIL PAGE RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
  .t99-detail-layout {
    flex-direction: column !important;
  }
  .t99-detail-sidebar {
    width: 100% !important;
  }
  .t99-detail-card [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .t99-detail-card [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .t99-detail-card [style*="display:flex;gap:28px"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .t99-detail-card [style*="width:160px"] {
    width: 120px !important;
  }
  .t99-sticky-cta {
    display: flex !important;
  }
  .t99-detail-card [style*="display:flex;border-bottom"] {
    overflow-x: auto;
  }
  .t99-dtab {
    white-space: nowrap;
    font-size: 0.8125rem !important;
    padding: 12px 14px !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE FIXES (375px - 767px)
   ========================================================================== */

@media (max-width: 767px) {

  /* --- Flatsome rows on mobile: Flatsome handles most stacking via small-12.
       Only force stack on specific sections that need it --- */

  /* --- Category Cards --- */
  .t99-category-card.col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 20px !important;
  }

  /* --- Hero: hide phone mockup, full width text --- */
  .hide-for-small,
  [class*="hide-for-small"] {
    display: none !important;
  }

  .t99-hero h1 {
    font-size: 1.625rem !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .t99-hero .t99-subtitle,
  .t99-hero p {
    max-width: 100% !important;
    font-size: 0.9375rem !important;
    text-align: center !important;
  }

  .t99-hero .t99-eyebrow,
  .t99-hero [class*="eyebrow"] {
    text-align: center !important;
    display: inline-block !important;
  }

  /* --- Search bar: stack vertically --- */
  .t99-search-bar {
    flex-direction: column !important;
    max-width: 100% !important;
    gap: 0 !important;
    margin: 0 auto !important;
  }

  .t99-search-bar input {
    padding: 12px 16px !important;
    font-size: 0.9375rem !important;
    border-radius: 8px 8px 0 0 !important;
  }

  .t99-search-bar button {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 0 0 8px 8px !important;
  }

  /* --- Quick pills: center wrap --- */
  .t99-quick-pills {
    justify-content: center !important;
  }

  /* --- Steps: vertical, no chevrons --- */
  .t99-step:not(:last-child)::after {
    display: none !important;
  }

  .t99-step {
    margin-bottom: 8px !important;
  }

  /* --- Product cards: full width, stack buttons --- */
  .t99-product-card {
    margin-bottom: 16px !important;
  }

  .t99-product-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .t99-product-card-actions {
    flex-direction: column !important;
  }

  .t99-product-card-actions .t99-btn-primary,
  .t99-product-card-actions .t99-btn-ghost {
    width: 100% !important;
    text-align: center !important;
  }

  /* --- Tabs: scroll horizontal --- */
  .t99-tabs {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 4px !important;
  }

  .t99-tab {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 16px !important;
    font-size: 0.8125rem !important;
  }

  /* --- Stats bar: 2x2 grid --- */
  .t99-stats-bar,
  .t99-stats-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .t99-stat-number,
  .stat-number {
    font-size: 1.75rem !important;
  }

  .t99-stat-label,
  .stat-label {
    font-size: 0.75rem !important;
  }

  /* --- Trust badges --- */
  .t99-trust-badges {
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  .t99-trust-badges img {
    height: 28px !important;
  }

  /* --- Tool cards --- */
  .t99-tool-card {
    padding: 16px !important;
  }

  .t99-tool-card .t99-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .t99-tool-card h4 {
    font-size: 0.875rem !important;
  }

  .t99-tool-card p {
    font-size: 0.75rem !important;
  }

  /* --- Footer: single column --- */
  .t99-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .t99-footer-bottom-grid {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  /* --- Section padding: reduce --- */
  .t99-section,
  section[class*="section"] {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  /* --- General text size --- */
  h2 {
    font-size: 1.375rem !important;
  }

  h3 {
    font-size: 1.125rem !important;
  }

  .t99-section-title p {
    font-size: 0.875rem !important;
  }

  /* --- "Xem tất cả" button: smaller --- */
  .button.primary,
  a.button.primary {
    font-size: 0.875rem !important;
    padding: 10px 20px !important;
    text-transform: none !important;
  }
}

/* ==========================================================================
   TABLET (768px - 1023px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1023px) {

  .t99-category-card.col {
    flex: 0 1 calc(33.333% - 14px) !important;
    max-width: calc(33.333% - 14px) !important;
    padding: 24px 16px !important;
  }

  .t99-stats-bar,
  .t99-stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .t99-product-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ==========================================================================
   SMALL PHONES (max-width: 380px)
   ========================================================================== */

@media (max-width: 380px) {

  .t99-hero h1 {
    font-size: 1.375rem !important;
  }

  .t99-eyebrow,
  .t99-hero .t99-eyebrow {
    font-size: 0.6875rem !important;
    padding: 4px 12px !important;
  }

  .t99-stat-number,
  .stat-number {
    font-size: 1.5rem !important;
  }

  .t99-category-card h3 {
    font-size: 1rem !important;
  }

  .t99-tab {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   T99 LISTING PAGE (/the-tin-dung/)
   ========================================================================== */

.t99-listing-page {
  background: #F9FAFB;
  min-height: 60vh;
}

.t99-breadcrumb {
  font-size: 0.8125rem;
  color: #9CA3AF;
  margin-bottom: 16px;
}

.t99-breadcrumb a {
  color: #6B7280;
  text-decoration: none;
}

.t99-breadcrumb a:hover {
  color: #0B6E4F;
}

.t99-breadcrumb span {
  margin: 0 4px;
}

.t99-listing-header {
  margin-bottom: 8px;
}

.t99-listing-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.t99-listing-header p {
  color: #6B7280;
  font-size: 0.9375rem;
  margin: 0;
}

/* Sidebar */
.t99-sidebar {
  position: sticky;
  top: 80px;
}

/* Bottom CTA - subtle row style */
.t99-bottom-ctas-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #E5E7EB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
}

.t99-bottom-cta-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.t99-bottom-cta-item:hover {
  background: #F9FAFB;
}

.t99-bottom-cta-icon {
  width: 40px;
  height: 40px;
  background: var(--t99-primary-light, #E8F5EF);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--t99-primary, #0B6E4F);
}

.t99-bottom-cta-text {
  flex: 1;
  min-width: 0;
}

.t99-bottom-cta-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.t99-bottom-cta-text small {
  font-size: 0.75rem;
  color: #6B7280;
}

.t99-bottom-cta-arrow {
  font-size: 1rem;
  color: #9CA3AF;
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.t99-bottom-cta-item:hover .t99-bottom-cta-arrow {
  transform: translateX(3px);
  color: var(--t99-primary, #0B6E4F);
}

/* Legacy sidebar CTA (kept for other pages) */
.t99-sidebar-cta {
  background: linear-gradient(135deg, #0B6E4F 0%, #10976a 100%);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.t99-sidebar-cta-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.t99-sidebar-cta h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.t99-sidebar-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.t99-sidebar-cta-btn {
  display: block;
  background: #F2994A;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.t99-sidebar-cta-btn:hover {
  background: #E07E25;
  color: #fff !important;
}

.t99-sidebar-cta-time {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
}

.t99-sidebar-box {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.t99-sidebar-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F3F4F6;
}

.t99-sidebar-top-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F9FAFB;
}

.t99-sidebar-top-item:last-child {
  border-bottom: none;
}

.t99-sidebar-rank {
  width: 28px;
  height: 28px;
  background: #E8F5EF;
  color: #0B6E4F;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.t99-sidebar-top-item a {
  color: #111827;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  display: block;
  line-height: 1.3;
}

.t99-sidebar-top-item a:hover {
  color: #0B6E4F;
}

.t99-sidebar-top-item div > span {
  color: #9CA3AF;
  font-size: 0.75rem;
}

/* Sidebar tags */
.t99-sidebar-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.t99-sidebar-tag:hover {
  border-color: #0B6E4F;
  color: #0B6E4F;
  background: #E8F5EF;
}

/* ==========================================================================
   T99 LISTING CARDS (Fingo-style)
   ========================================================================== */

.t99-listing {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t99-lc {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
}

.t99-lc:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Header */
.t99-lc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #F3F4F6;
}

.t99-lc-tag {
  display: inline-block;
  color: #6B7280;
  font-size: 0.6875rem;
  font-weight: 500;
  border: 1px solid #D1D5DB;
  padding: 3px 12px;
  border-radius: 50px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t99-lc-compare {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #6B7280;
  cursor: pointer;
  white-space: nowrap;
}

.t99-lc-compare input {
  accent-color: #0B6E4F;
  width: 16px;
  height: 16px;
  margin: 0;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Body */
.t99-lc-body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}

.t99-lc-logo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.t99-lc-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.t99-lc-info {
  flex: 1;
  min-width: 0;
}

.t99-lc-name {
  margin-bottom: 6px;
}

.t99-lc-name a {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.t99-lc-name a:hover {
  color: #0B6E4F;
}

/* Ratings */
.t99-lc-ratings {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.t99-lc-rating-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.t99-lc-stars {
  color: #F2994A;
  font-size: 0.75rem;
  letter-spacing: -1px;
}

.t99-lc-rating-num {
  font-weight: 700;
  font-size: 0.8125rem;
  color: #111827;
}

.t99-lc-rating-label {
  font-size: 0.6875rem;
  color: #9CA3AF;
}

/* CTA */
.t99-lc-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.t99-lc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0B6E4F, #10976a);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(11,110,79,0.25);
}

.t99-lc-btn-primary:hover {
  background: linear-gradient(135deg, #084D38, #0B6E4F);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(11,110,79,0.35);
  transform: translateY(-1px);
}

.t99-lc-btn-link {
  color: #6B7280;
  font-weight: 500;
  font-size: 0.8125rem;
  text-decoration: none;
}

.t99-lc-btn-link:hover {
  color: #0B6E4F;
}

/* Metrics */
.t99-lc-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #E5E7EB;
}

.t99-lc-metric {
  padding: 16px 20px;
  border-right: 1px solid #E5E7EB;
}

.t99-lc-metric:last-child {
  border-right: none;
}

.t99-lc-metric-label {
  font-size: 0.625rem;
  color: #6B7280;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.t99-lc-metric-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
}

/* Why choose */
.t99-lc-why {
  padding: 16px 24px;
  margin: 0 20px 16px;
  background: #F0FAF5;
  border-left: 3px solid #0B6E4F;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.6;
}

.t99-lc-why strong {
  color: #0B6E4F;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.t99-lc-why strong::before {
  content: '💡';
  font-size: 0.875rem;
}

/* ===== PREMIUM LISTING UPGRADES ===== */

/* Card lift + left accent on hover */
.t99-lc {
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.t99-lc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: transparent;
  border-radius: 0 3px 3px 0;
  transition: all 0.3s ease;
  z-index: 1;
}
.t99-lc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  border-color: var(--t99-primary-light, #E8F5EF);
}
.t99-lc:hover::before {
  background: linear-gradient(180deg, var(--t99-primary, #0B6E4F), #10B981);
  box-shadow: 0 0 8px rgba(11,110,79,0.15);
}

/* Card image premium frame */
.t99-lc-logo img {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 4px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.t99-lc:hover .t99-lc-logo img {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* CTA button glass overlay */
.t99-lc-btn-primary {
  position: relative;
  overflow: hidden;
}
.t99-lc-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Metrics hover */
.t99-lc-metric {
  transition: background 0.2s ease;
}
.t99-lc-metric:hover {
  background: var(--t99-primary-light, #E8F5EF);
}
.t99-lc-metric-value {
  font-family: var(--t99-font-heading, 'Be Vietnam Pro', sans-serif);
}

/* Tag pill premium */
.t99-lc-tag {
  background: var(--t99-gray-50, #F9FAFB);
  transition: all 0.2s;
}

/* Why section gradient */
.t99-lc-why {
  background: linear-gradient(135deg, #f0faf5, #fff);
  border-left-width: 4px;
  transition: all 0.3s ease;
}
.t99-lc:hover .t99-lc-why {
  box-shadow: 0 2px 8px rgba(11,110,79,0.06);
}

/* Accordion item hover */
.t99-lc-accordion-item {
  transition: all 0.2s ease;
}
.t99-lc-accordion-item:hover {
  background: var(--t99-primary-50, #f0faf5);
  padding-left: 28px;
}
.t99-lc-accordion-item::after {
  transition: transform 0.2s ease;
}
.t99-lc-accordion-item:hover::after {
  transform: translateX(3px);
  color: var(--t99-primary, #0B6E4F);
}

/* ===== END PREMIUM LISTING UPGRADES ===== */

/* Accordion sections */
.t99-lc-accordion {
  border-top: 1px solid #E5E7EB;
}

.t99-lc-accordion-toggle {
  border-bottom: 1px solid #E5E7EB;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
  transition: color 0.2s, background 0.2s;
  user-select: none;
}

.t99-lc-accordion-toggle:hover {
  color: #0B6E4F;
  background: #F9FAFB;
}

.t99-lc-accordion-toggle.open {
  color: #0B6E4F;
  border-bottom-color: transparent;
}

.t99-lc-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-bottom: 1px solid #E5E7EB;
}

.t99-lc-accordion-panel.open {
  max-height: 500px;
}

/* Legacy accordion-item (fallback) */
.t99-lc-accordion-item {
  border-bottom: 1px solid #E5E7EB;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
  transition: color 0.2s;
}

.t99-lc-accordion-item:hover {
  color: #0B6E4F;
}

.t99-lc-accordion-item::after {
  content: '›';
  font-size: 1.25rem;
  color: #9CA3AF;
}

/* Badge */
.t99-lc-badge {
  display: none;
}

/* Listing cards mobile */
@media (max-width: 549px) {
  .t99-lc-body {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    text-align: center;
  }

  .t99-lc-logo {
    width: 120px;
    height: 80px;
  }

  .t99-lc-name a {
    font-size: 1rem;
  }

  .t99-lc-ratings {
    justify-content: center;
    gap: 10px;
  }

  .t99-lc-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .t99-lc-metric {
    padding: 10px 16px;
  }

  .t99-lc-metric:nth-child(2) {
    border-right: none;
  }

  .t99-lc-cta {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    align-items: stretch;
    padding: 0 16px 16px;
  }

  .t99-lc-btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9375rem;
  }

  .t99-lc-btn-link {
    text-align: center;
    width: 100%;
    padding: 10px;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    display: block;
  }

  .t99-lc-why {
    margin: 0 12px 12px;
    padding: 12px 16px;
    font-size: 0.75rem;
  }

  .t99-lc-accordion-item,
  .t99-lc-accordion-toggle {
    padding: 12px 16px;
    font-size: 0.8125rem;
  }

  .t99-lc-accordion-panel > div {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px 16px !important;
  }

  .t99-lc::before {
    display: none;
  }

  .t99-lc:hover {
    transform: none;
  }
}

/* Listing mobile */
@media (max-width: 549px) {
  .t99-listing-header h1 {
    font-size: 1.375rem;
  }

  .t99-sidebar {
    position: static;
    margin-top: 24px;
  }

  .t99-listing-page .col.large-8 {
    padding-right: 0 !important;
  }
}

/* ==========================================================================
   Compare Bar (floating bottom bar)
   ========================================================================== */
.t99-cb {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  border-top: 2px solid #0B6E4F;
  z-index: 9999;
  padding: 14px 24px;
}
.t99-cb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.t99-cb-count {
  font-size: 0.8125rem;
  color: #374151;
  white-space: nowrap;
  flex-shrink: 0;
}
.t99-cb-count strong {
  color: #0B6E4F;
  font-weight: 700;
}
.t99-cb-cards {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.t99-cb-card {
  position: relative;
  text-align: center;
  width: 80px;
  flex-shrink: 0;
}
.t99-cb-card-img {
  width: 64px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 4px;
}
.t99-cb-card-name {
  font-size: 0.625rem;
  color: #374151;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.t99-cb-card-x {
  position: absolute;
  top: -4px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: #374151;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.t99-cb-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.t99-cb-btn-cancel {
  height: 40px;
  padding: 0 20px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin: 0 !important;
}
.t99-cb-btn-go {
  height: 40px;
  padding: 0 24px;
  border-radius: 8px;
  background: #0B6E4F;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 549px) {
  .t99-cb {
    padding: 10px 12px;
  }
  .t99-cb-inner {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .t99-cb-count {
    font-size: 0.75rem;
  }
  .t99-cb-cards {
    display: none !important;
  }
  .t99-cb-actions {
    order: 2;
    margin-left: auto;
  }
  .t99-cb-btn-cancel {
    height: 34px;
    padding: 0 14px;
    font-size: 0.75rem;
  }
  .t99-cb-btn-go {
    height: 34px;
    padding: 0 16px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Contact Page (page-id-31) Premium
   ========================================================================== */
/* CF7 Form Premium */
.t99-cf7-form {
  max-width: 100%;
}
.t99-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.t99-cf7-field {
  margin-bottom: 16px;
}
.t99-cf7-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.t99-cf7-field label .required {
  color: #EB5757;
}
.t99-cf7-field input[type="text"],
.t99-cf7-field input[type="email"],
.t99-cf7-field input[type="tel"],
.t99-cf7-field textarea,
.t99-cf7-field select {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 10px !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  min-height: 44px !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  color: #111827 !important;
  background: #fff !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin: 0 !important;
}
.t99-cf7-field input::placeholder,
.t99-cf7-field textarea::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}
.t99-cf7-field input:focus,
.t99-cf7-field textarea:focus,
.t99-cf7-field select:focus {
  border-color: #0B6E4F !important;
  box-shadow: 0 0 0 3px rgba(11,110,79,0.1) !important;
  outline: none !important;
}
.t99-cf7-field textarea {
  min-height: 140px !important;
  resize: vertical;
}
.t99-cf7-field select {
  padding-right: 40px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-color: #fff !important;
  cursor: pointer;
}
.t99-cf7-submit {
  margin-top: 8px;
}
.t99-cf7-submit input[type="submit"] {
  width: 100% !important;
  padding: 14px 32px !important;
  background: linear-gradient(135deg, #0B6E4F, #10976a) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(11,110,79,0.25);
}
.t99-cf7-submit input[type="submit"]:hover {
  box-shadow: 0 6px 16px rgba(11,110,79,0.35);
  transform: translateY(-1px);
}
/* CF7 validation */
.t99-cf7-field .wpcf7-not-valid {
  border-color: #EB5757 !important;
}
.t99-cf7-field .wpcf7-not-valid-tip {
  color: #EB5757;
  font-size: 0.75rem;
  margin-top: 4px;
}
.wpcf7-response-output {
  border-radius: 10px !important;
  padding: 14px 20px !important;
  font-size: 0.875rem !important;
  margin: 16px 0 0 !important;
}

@media (max-width: 549px) {
  .t99-cf7-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.t99-contact-page {
  max-width: 1000px;
  margin: 0 auto;
}
/* Contact Cards */
.t99-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.t99-contact-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.t99-contact-card:hover {
  border-color: #0B6E4F;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.t99-contact-card-icon {
  width: 48px;
  height: 48px;
  background: #E8F5EF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #0B6E4F;
}
.t99-contact-card-icon svg {
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  display: block !important;
}
.t99-contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.t99-contact-card-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0B6E4F;
  margin-bottom: 4px;
}
.t99-contact-card-sub {
  font-size: 0.75rem;
  color: #9CA3AF;
}
/* Contact Grid */
.t99-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.t99-contact-form-wrap {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px;
}
.t99-contact-form-wrap h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}
/* Sidebar */
.t99-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Flatsome Accordion Override for Contact FAQ */
.t99-contact-faq {
  margin-bottom: 20px;
}
.t99-contact-faq .accordion-item {
  border: 1px solid #E5E7EB !important;
  margin-bottom: 8px !important;
  border-radius: 10px !important;
  background: #F9FAFB !important;
  overflow: hidden;
}
.t99-contact-faq .accordion-title,
.t99-contact-faq a.accordion-title {
  position: relative !important;
  padding: 16px 44px 16px 20px !important;
  color: #111827 !important;
  background: #F9FAFB !important;
  border: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}
.t99-contact-faq .accordion-title:hover {
  color: #0B6E4F !important;
}
.t99-contact-faq .accordion-title .toggle {
  position: absolute !important;
  right: 16px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.t99-contact-faq .accordion-title.active .toggle {
  transform: translateY(-50%) rotate(180deg) !important;
}
.t99-contact-faq .accordion-inner {
  padding: 0 20px 16px !important;
  font-size: 0.8125rem !important;
  color: #6B7280 !important;
  line-height: 1.6 !important;
}
.t99-contact-hotline {
  background: #E8F5EF;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.t99-contact-hotline h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B6E4F;
  margin-bottom: 8px;
}
.t99-contact-hotline p {
  font-size: 0.8125rem;
  color: #374151;
  margin-bottom: 16px;
}
.t99-contact-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #0B6E4F;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s;
}
.t99-contact-call-btn:hover {
  background: #084D38;
  color: #fff !important;
}
.t99-contact-call-btn svg {
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  display: block !important;
}
.t99-contact-social h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.t99-social-links {
  display: flex;
  gap: 10px;
}
.t99-social-links a {
  width: 40px;
  height: 40px;
  background: #F3F4F6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}
.t99-social-links a:hover {
  background: #E8F5EF;
  color: #0B6E4F;
}
.t99-social-links a svg {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  display: block !important;
}

/* ==========================================================================
   About Page
   ========================================================================== */
.t99-about-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  margin-bottom: 16px;
}
.t99-about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--t99-primary, #0B6E4F);
}
.t99-about-card-icon {
  width: 52px;
  height: 52px;
  background: #E8F5EF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #0B6E4F;
}
.t99-about-card-icon svg {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: block !important;
}
.t99-about-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.t99-about-card p {
  font-size: 0.8125rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}
.t99-about-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid #E5E7EB;
}
.t99-about-check:last-child {
  border-bottom: none;
}
.t99-about-check svg {
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  display: block !important;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .t99-contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .t99-contact-card {
    display: block;
    text-align: center;
    padding: 20px;
  }
  .t99-contact-card-icon {
    margin: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0 auto 12px;
  }
  .t99-contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .t99-contact-form-wrap {
    padding: 20px;
  }
  .t99-contact-faq {
    padding: 20px;
  }
}

/* ============================================
   FINAL OVERRIDES — Product card buttons
   Đặt cuối file để đảm bảo thắng mọi rule trước đó
   ============================================ */
.t99-product-card-actions .t99-btn-primary,
.t99-product-card-actions .t99-btn-ghost {
  padding: 9px 16px !important;
  font-size: 0.8125rem !important;
  line-height: 1.2 !important;
  border-radius: 8px !important;
}

.t99-view-all {
  text-align: center !important;
  margin-top: 28px !important;
}
.t99-view-all a {
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  color: var(--t99-primary) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: gap 0.2s !important;
}
.t99-view-all a:hover {
  gap: 10px !important;
  color: var(--t99-primary-dark) !important;
}

/* ==========================================================================
   T99 PREMIUM RESPONSIVE — Mobile & Tablet — v3.0
   ========================================================================== */

/* ===== MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {

  /* ── GLOBAL SECTION SPACING ── */
  .section[class],
  section.section,
  .section[id] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .section-content {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  /* ── HORIZONTAL PADDING RESET ── */
  .row,
  .row.row-large,
  .row-large {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .col-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Remove gap shortcodes */
  .gap-element {
    display: none !important;
  }

  /* ── HERO SECTION ── */
  .t99-hero .section-content {
    padding-top: 36px !important;
    padding-bottom: 32px !important;
  }
  .t99-hero .col-inner {
    text-align: center !important;
  }
  .t99-hero h1 {
    font-size: 1.5rem !important;
    line-height: 1.35 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 12px !important;
  }
  .t99-hero p {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    opacity: 0.9;
    margin-bottom: 20px !important;
  }
  .t99-hero .button,
  .t99-hero a.button {
    font-size: 0.875rem !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    min-height: 44px !important;
  }

  /* ── EYEBROW BADGES ── */
  .t99-eyebrow {
    display: inline-block !important;
    font-size: 0.625rem !important;
    padding: 5px 14px !important;
    letter-spacing: 0.08em !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
  }

  /* ── SECTION TITLE BLOCK ── */
  .t99-section-title {
    padding: 0 !important;
    margin-bottom: 16px !important;
  }
  .t99-section-label {
    padding: 0 !important;
    margin-bottom: 8px !important;
    font-size: 0.6875rem !important;
  }

  /* ── SECTION TITLES — Consistent hierarchy ── */
  .section-title h2,
  .t99-section-title h2 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 6px !important;
  }
  .section-title p,
  .t99-section-title p,
  .t99-section-subtitle {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
    opacity: 0.75;
    margin-bottom: 0 !important;
  }

  /* ── CATEGORY CARDS ── */
  .t99-cat-section .col {
    padding-bottom: 14px !important;
    margin-bottom: 0 !important;
  }
  .t99-cat-card {
    padding: 28px 20px !important;
    border-radius: 14px !important;
  }
  .t99-cat-card .col-inner {
    padding: 0 !important;
  }
  .t99-cat-card h3 {
    font-size: 1.0625rem !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
  }
  .t99-cat-card p {
    font-size: 0.8125rem !important;
    line-height: 1.55 !important;
    opacity: 0.8;
  }
  .t99-cat-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 14px !important;
  }

  /* ── HOW IT WORKS STEPS ── */
  .t99-step {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
  }
  .col.t99-step .col-inner {
    padding: 22px 18px !important;
    border-radius: 12px !important;
  }
  .t99-step .t99-step-number {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.875rem !important;
    line-height: 36px !important;
    margin-bottom: 10px !important;
  }
  .t99-step h3,
  .t99-step h4 {
    font-size: 0.9375rem !important;
    margin-bottom: 6px !important;
  }
  .t99-step p {
    font-size: 0.8125rem !important;
    line-height: 1.55 !important;
    opacity: 0.8;
  }

  /* ── TAB PILLS ── */
  .t99-tabs,
  .t99-product-tabs {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin: 0 20px 20px !important;
    padding: 0 !important;
  }
  .t99-tab {
    flex: 1 !important;
    padding: 10px 8px !important;
    font-size: 0.75rem !important;
    min-width: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
  }
  .t99-tab.active,
  .t99-tab.is-active {
    box-shadow: 0 2px 8px rgba(11,110,79,0.2) !important;
  }

  /* ── PRODUCT CARDS ── */
  .t99-product-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
  }
  .t99-product-card-header {
    gap: 12px !important;
    margin-bottom: 14px !important;
  }
  .t99-product-card h3 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
  }
  .t99-product-card-badge {
    font-size: 0.6875rem !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
  }
  .t99-product-metric {
    padding: 8px 0 !important;
  }
  .t99-product-metric-value {
    font-size: 1rem !important;
    font-weight: 700 !important;
  }
  .t99-product-metric-label {
    font-size: 0.6875rem !important;
    opacity: 0.7;
  }
  .t99-product-card .button,
  .t99-product-card a.button,
  .t99-product-card-actions .t99-btn-primary,
  .t99-product-card-actions .t99-btn-ghost {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* ── STATS SECTION ── */
  .t99-trust-stats .section-content {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .t99-stat-number {
    font-size: 1.625rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }
  .t99-stat-label {
    font-size: 0.6875rem !important;
    line-height: 1.4 !important;
    opacity: 0.7;
    margin-top: 2px !important;
  }

  /* ── TRUST BADGES ── */
  .t99-trust-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  .t99-trust-badge {
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 0.8125rem !important;
    gap: 8px !important;
  }
  .t99-trust-badge img,
  .t99-trust-badge .icon {
    width: 20px !important;
    height: 20px !important;
  }

  /* ── TOOL CARDS ── */
  .col.t99-tool-card {
    padding: 0 6px !important;
  }
  .t99-tool-card .col-inner {
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }
  .t99-tool-card h3,
  .t99-tool-card .col-inner h3 {
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }
  .t99-tool-card p,
  .t99-tool-card .col-inner p {
    font-size: 0.6875rem !important;
    line-height: 1.4 !important;
    opacity: 0.75;
  }
  .t99-tool-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 10px !important;
  }

  /* ── BLOG CARDS ── */
  .t99-blog-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
  }
  .t99-blog-card img {
    border-radius: 14px 14px 0 0 !important;
  }
  .t99-blog-card h3 {
    font-size: 0.9375rem !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
  }
  .t99-blog-card p,
  .t99-blog-card .t99-blog-excerpt {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
    opacity: 0.75;
  }
  .t99-blog-card .t99-blog-meta {
    font-size: 0.6875rem !important;
    opacity: 0.6;
    margin-top: 8px !important;
  }

  /* ── CTA BAND ── */
  .t99-cta-band .section-content {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .t99-cta-band .row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .t99-cta-band .col {
    text-align: center !important;
    width: 100% !important;
  }
  .t99-cta-band h3 {
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  .t99-cta-band p {
    font-size: 0.875rem !important;
    opacity: 0.9;
    margin-bottom: 16px !important;
  }
  .t99-cta-band .button,
  .t99-cta-band a.button {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 24px !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    min-height: 48px !important;
  }

  /* ── FOOTER ── */
  .footer-wrapper {
    padding: 28px 0 16px !important;
  }
  .footer-wrapper .section-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .t99-footer-title {
    font-size: 0.875rem !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.03em !important;
  }
  .t99-footer-links a {
    font-size: 0.8125rem !important;
    padding: 4px 0 !important;
    line-height: 1.6 !important;
  }
  .t99-footer-trust-badges {
    gap: 8px !important;
    margin-top: 16px !important;
  }
  .t99-footer-trust-badge {
    padding: 10px 14px !important;
    border-radius: 10px !important;
    flex-direction: row !important;
    gap: 10px !important;
    font-size: 0.8125rem !important;
  }
  .t99-footer-copyright {
    font-size: 0.75rem !important;
    opacity: 0.6;
    margin-top: 20px !important;
    padding-top: 16px !important;
  }

  /* ── VIEW ALL LINKS ── */
  .t99-view-all {
    margin-top: 16px !important;
    text-align: center !important;
  }
  .t99-view-all a {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
  }

  /* ── MICRO DETAILS — Premium polish ── */
  .t99-cat-card,
  .t99-product-card,
  .t99-step,
  .t99-tool-card .col-inner,
  .t99-blog-card,
  .t99-trust-badge,
  .t99-footer-trust-badge {
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  }

  /* All buttons get 44px min touch target (Apple HIG) */
  .button, a.button, button {
    min-height: 44px !important;
  }

  /* Consistent card shadows */
  .t99-product-card,
  .t99-cat-card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04) !important;
  }
}

/* ===== SMALL MOBILE (max-width: 380px) ===== */
@media (max-width: 380px) {
  .t99-hero h1 {
    font-size: 1.3rem !important;
  }
  .t99-tab {
    padding: 9px 6px !important;
    font-size: 0.6875rem !important;
  }
  .t99-tabs,
  .t99-product-tabs {
    margin: 0 16px 18px !important;
    gap: 6px !important;
  }
  .t99-section-title,
  .section-title h2 {
    font-size: 1.2rem !important;
  }
  .t99-stat-number {
    font-size: 1.4rem !important;
  }
  .t99-product-card {
    padding: 16px 14px !important;
  }
  .t99-cat-card {
    padding: 22px 16px !important;
  }
}


/* ===== TABLET (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .section-content {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .section-title h2,
  .t99-section-title {
    font-size: 1.625rem !important;
  }
  .t99-hero h1 {
    font-size: 1.875rem !important;
  }
  .t99-tab {
    padding: 11px 20px !important;
    font-size: 0.8125rem !important;
    border-radius: 10px !important;
  }
  .t99-product-card {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
  .t99-cat-card {
    padding: 24px 20px !important;
    border-radius: 14px !important;
  }
  .t99-cta-band h3 {
    font-size: 1.375rem !important;
  }
  .t99-stat-number {
    font-size: 2rem !important;
  }
  .t99-step {
    padding: 22px 18px !important;
    border-radius: 14px !important;
  }
  .t99-blog-card {
    border-radius: 14px !important;
  }
  .t99-tool-card .col-inner {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
}

/* ==========================================================================
   ABOUT PAGE — Giới thiệu
   ========================================================================== */

/* ── Hero ── */
.t99-about-hero {
  background: linear-gradient(135deg, #0B3D2E 0%, #0B6E4F 50%, #1B4965 100%) !important;
  position: relative;
  overflow: hidden;
}
.t99-about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(11,110,79,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(242,153,74,0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.t99-about-hero .section-content {
  position: relative;
  z-index: 1;
}

/* Eyebrow inside About hero */
.t99-about-hero .t99-eyebrow {
  display: inline-block !important;
  padding: 6px 18px !important;
  border-radius: 30px !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 16px !important;
}

/* Button white outline on dark sections — force white (Flatsome adds .section class) */
section.t99-about-hero .button[class],
section.section.t99-about-hero .button.white.is-outline,
section.section.t99-about-cta .button.white.is-outline,
section.section.t99-cta-band .button.white.is-outline,
.t99-about-hero .section-content .button.white,
.t99-about-cta .section-content .button.white,
.t99-cta-band .section-content .button.white {
  color: #fff !important;
  border-color: #fff !important;
  background: transparent !important;
}
section.t99-about-hero .button:hover,
section.section.t99-about-cta .button:hover,
section.section.t99-cta-band .button:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border-color: #fff !important;
}

.t99-about-hero-title {
  color: #fff !important;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.t99-about-hero-subtitle {
  color: rgba(255,255,255,0.85) !important;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}

/* ── Stats Bar ── */
.t99-about-stats {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.t99-about-stat {
  text-align: center;
  padding: 12px 0;
}
.t99-about-stat .t99-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--t99-primary);
}
.t99-about-stat .t99-stat-label {
  font-size: 0.875rem;
  color: var(--t99-gray-500, #6B7280);
  margin-top: 4px;
}

/* ── Story Section ── */
.t99-about-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--t99-gray-900, #111827);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.t99-about-subtitle {
  font-size: 0.9375rem;
  color: var(--t99-gray-500, #6B7280);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 24px;
}
.t99-about-text {
  font-size: 0.9375rem;
  color: var(--t99-gray-600, #4B5563);
  line-height: 1.7;
  margin-bottom: 14px;
}
.t99-about-text strong {
  color: var(--t99-gray-900, #111827);
}
.t99-about-video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.t99-about-video-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.t99-about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  transition: transform 0.2s ease;
}
.t99-about-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* ── Vision & Mission ── */
.t99-about-vision {
  background: linear-gradient(135deg, #0B3D2E 0%, #0B6E4F 40%, #1B4965 100%) !important;
  position: relative;
  overflow: hidden;
}
.t99-about-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 60%, rgba(242,153,74,0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(11,110,79,0.2) 0%, transparent 50%);
  pointer-events: none;
}
.t99-about-vision .section-content {
  position: relative;
  z-index: 1;
}
.t99-about-vision-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
}
.t99-about-vision-icon {
  width: 64px;
  height: 64px;
  background: var(--t99-primary-light, #E8F5F0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.t99-about-vision-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t99-primary);
  margin-bottom: 12px;
}
.t99-about-vision-card p {
  font-size: 0.9375rem;
  color: var(--t99-gray-600, #4B5563);
  line-height: 1.65;
}

/* ── Value Cards ── */
.t99-about-value-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.t99-about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11,110,79,0.1);
  border-color: var(--t99-primary);
}
.t99-about-value-icon {
  width: 64px;
  height: 64px;
  background: var(--t99-primary-light, #E8F5F0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.t99-about-value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--t99-gray-900, #111827);
  margin-bottom: 10px;
}
.t99-about-value-card p {
  font-size: 0.875rem;
  color: var(--t99-gray-500, #6B7280);
  line-height: 1.65;
}

/* ── CTA Band (About) ── */
.t99-about-cta .t99-about-cta-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.t99-about-cta-title {
  color: #fff !important;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.t99-about-cta-text {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Partner Logos ── */
.t99-partner-img {
  max-height: 44px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s ease;
}
.t99-partner-img:hover {
  filter: grayscale(0) opacity(1);
}

/* ── Dual CTA Cards ── */
.t99-about-cta-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.t99-about-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--t99-primary);
}
.t99-about-cta-card-icon {
  width: 64px;
  height: 64px;
  background: var(--t99-primary-light, #E8F5F0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.t99-about-cta-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t99-gray-900, #111827);
  margin-bottom: 10px;
}
.t99-about-cta-card p {
  font-size: 0.875rem;
  color: var(--t99-gray-500, #6B7280);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── About Page Responsive — Mobile ── */
@media (max-width: 767px) {
  .t99-about-hero-title {
    font-size: 1.5rem !important;
    text-align: center;
  }
  .t99-about-hero-subtitle {
    font-size: 0.875rem !important;
    text-align: center;
  }
  .t99-about-hero .col-inner {
    text-align: center !important;
  }
  .t99-about-stat .t99-stat-number {
    font-size: 1.5rem !important;
  }
  .t99-about-stat .t99-stat-label {
    font-size: 0.75rem !important;
  }
  .t99-about-heading {
    font-size: 1.3rem !important;
  }
  .t99-about-subtitle {
    font-size: 0.8125rem !important;
  }
  .t99-about-text {
    font-size: 0.875rem !important;
  }
  .t99-about-vision-card {
    padding: 28px 20px !important;
    margin-bottom: 12px;
  }
  .t99-about-vision-card h3 {
    font-size: 1.1rem !important;
  }
  .t99-about-value-card {
    padding: 24px 20px !important;
    margin-bottom: 12px;
  }
  .t99-about-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .t99-about-cta-title {
    font-size: 1.5rem !important;
    text-align: center;
  }
  .t99-about-cta-text {
    text-align: center;
    font-size: 0.875rem !important;
  }
  .t99-about-cta .col {
    text-align: center !important;
  }
  .t99-partner-img {
    max-height: 32px !important;
  }
  .t99-about-cta-card {
    padding: 28px 20px !important;
    margin-bottom: 12px;
  }
}

/* ── About Page Responsive — Tablet ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .t99-about-hero-title {
    font-size: 1.875rem !important;
  }
  .t99-about-heading {
    font-size: 1.5rem !important;
  }
  .t99-about-vision-card {
    padding: 32px 24px !important;
  }
  .t99-about-value-card {
    padding: 28px 20px !important;
  }
  .t99-about-stat .t99-stat-number {
    font-size: 1.875rem !important;
  }
}

/* ==========================================================================
   8. FOOTER — T99 Premium Footer
   ========================================================================== */

/* ── Footer Section Reset (override Flatsome defaults) ── */
.t99-footer.section {
  padding: 48px 0 0 !important;
  background: #0F2D40 !important;
}
.t99-footer .section-content {
  padding: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.t99-footer .row,
.t99-footer .row.row-large {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}
.t99-footer .col {
  padding-bottom: 0 !important;
}
.t99-footer .col-inner {
  padding: 0 !important;
}

/* ── Footer Main Row ── */
.t99-footer .row.t99-footer-main {
  padding-bottom: 36px !important;
}
.t99-footer-main .col-inner {
  padding: 0 15px !important;
}

/* ── Logo & Brand ── */
.t99-footer-brand {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.t99-footer-brand .t99-dot {
  color: #F2994A;
}
.t99-footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── Company Info ── */
.t99-footer-company-name {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.8125rem;
  margin-bottom: 10px;
}
.t99-footer-info {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.t99-footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}
.t99-footer-info li svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.t99-footer-info .t99-highlight {
  color: #fff;
  font-weight: 500;
}

/* ── Social Icons ── */
.t99-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.t99-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all 0.25s ease;
  text-decoration: none;
}
.t99-footer-social a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ── Footer Links ── */
.t99-footer-heading {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px !important;
  line-height: 1.3 !important;
}
.t99-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.t99-footer-links li {
  margin-bottom: 12px;
}
.t99-footer-links li:last-child {
  margin-bottom: 0;
}
.t99-footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.5;
}
.t99-footer-links a:hover {
  color: #fff;
}

/* ── Sub heading (Hỗ trợ) ── */
.t99-footer-subheading {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 24px !important;
  margin-bottom: 18px !important;
  line-height: 1.3 !important;
}

/* ── Trust Badges Row ── */
.t99-footer .row.t99-footer-trust-row {
  padding: 24px 0 !important;
  border-top: none !important;
}
.t99-footer-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}
.t99-footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.t99-footer-badge {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.t99-footer-badge-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t99-footer-badge-text {
  font-size: 0.6875rem;
  line-height: 1.4;
}
.t99-footer-badge-title {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.t99-footer-badge-sub {
  color: rgba(255,255,255,0.35);
}
.t99-footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  text-align: right;
  flex-shrink: 1;
}

/* ── Copyright Row ── */
.t99-footer .row.t99-footer-copyright-row {
  padding: 16px 0 !important;
}
.t99-footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}
.t99-footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.t99-footer-status-dot {
  width: 6px;
  height: 6px;
  background: #27AE60;
  border-radius: 50%;
  display: inline-block;
}

/* ── Footer Responsive — Tablet ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .t99-footer.section {
    padding: 36px 0 0 !important;
  }
  .t99-footer-trust-inner {
    flex-wrap: wrap;
  }
  .t99-footer-disclaimer {
    text-align: left;
  }
}

/* ── Footer Responsive — Mobile ── */
@media (max-width: 767px) {
  .t99-footer.section {
    padding: 32px 0 0 !important;
  }
  .t99-footer .section-content {
    padding: 0 4px !important;
  }
  .t99-footer-main .col-inner {
    padding: 0 12px !important;
  }
  .t99-footer-main .col {
    margin-bottom: 28px !important;
  }
  .t99-footer-brand {
    font-size: 1.35rem;
  }
  .t99-footer-tagline {
    margin-bottom: 16px;
  }
  .t99-footer-info {
    margin-bottom: 20px;
  }

  /* Link columns: 2 columns on mobile */
  .t99-footer-col-links {
    margin-bottom: 24px !important;
  }
  .t99-footer-heading {
    margin-bottom: 14px !important;
    font-size: 0.875rem !important;
  }
  .t99-footer-subheading {
    margin-top: 20px !important;
    margin-bottom: 14px !important;
    font-size: 0.875rem !important;
  }
  .t99-footer-links li {
    margin-bottom: 10px;
  }
  .t99-footer-links a {
    font-size: 0.8125rem;
  }

  /* Trust badges stack */
  .t99-footer .row.t99-footer-trust-row {
    padding: 20px 0 !important;
  }
  .t99-footer-trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .t99-footer-badges {
    gap: 8px;
  }
  .t99-footer-badge {
    padding: 8px 12px;
  }
  .t99-footer-disclaimer {
    text-align: left;
    font-size: 0.6875rem;
  }

  /* Copyright */
  .t99-footer .row.t99-footer-copyright-row {
    padding: 14px 0 !important;
  }
  .t99-footer-copyright-row .col-inner {
    padding: 0 12px !important;
  }
  .t99-footer-copyright {
    font-size: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

