:root {
  --thvd-navy-950: #00243d;
  --thvd-navy-900: #002b49;
  --thvd-navy-800: #073a5c;
  --thvd-gold: #d9a91d;
  --thvd-gold-soft: #efc84d;
  --thvd-gold-ink: #876300;
  --color-bg-deep: #03040f;
  --color-bg-primary: #070a19;
  --color-bg-secondary: #0b1021;
  --color-surface-1: #111729;
  --color-surface-2: #171f33;
  --color-border-dark: #22293b;
  --color-text-primary-dark: #f5f7f9;
  --color-text-secondary-dark: #b5c1cc;
  --color-text-muted-dark: #8c98aa;
  --thvd-noise-texture:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .055) 0 .55px, transparent .8px),
    radial-gradient(circle at 74% 68%, rgba(0, 0, 0, .14) 0 .65px, transparent .9px),
    radial-gradient(circle at 46% 84%, rgba(255, 255, 255, .035) 0 .45px, transparent .75px);
  --thvd-header-background:
    var(--thvd-noise-texture),
    radial-gradient(ellipse at 50% -35%, var(--color-surface-2) 0%, var(--color-bg-secondary) 44%, var(--color-bg-primary) 72%, var(--color-bg-deep) 100%);
  --thvd-header-background-scrolled:
    var(--thvd-noise-texture),
    radial-gradient(ellipse at 50% -45%, rgba(23, 31, 51, .96) 0%, rgba(11, 16, 33, .96) 44%, rgba(7, 10, 25, .96) 76%, rgba(3, 4, 15, .97) 100%);
  --thvd-header-background-size: 9px 11px, 13px 15px, 17px 19px, auto;
  --thvd-dark-page-background:
    radial-gradient(ellipse at 50% -12%, rgba(23, 31, 51, .78) 0%, rgba(11, 16, 33, .52) 32%, rgba(7, 10, 25, 0) 68%),
    radial-gradient(ellipse at center, transparent 48%, rgba(3, 4, 15, .38) 100%),
    var(--thvd-noise-texture);
  --thvd-dark-page-background-size: auto, auto, 9px 11px, 13px 15px, 17px 19px;
  --thvd-focus-ring: 0 0 0 3px rgba(239, 200, 77, .38);
  --thvd-page: #fbfaf7;
  --thvd-surface: #ffffff;
  --thvd-surface-soft: #f3f6f8;
  --thvd-ink: #0c2c47;
  --thvd-muted: #66798b;
  --thvd-border: #dfe5ea;
  --thvd-shadow: 0 10px 28px rgba(0, 43, 73, .08);
  --thvd-container: 1320px;
  --thvd-header-height: 80px;
  --thvd-display-title-size: clamp(30px, 3vw, 44px);
  --thvd-shell-max: var(--thvd-container);
  --thvd-shell-gutter: 24px;
  --thvd-hero-shell-max: var(--thvd-container);
  --thvd-hero-shell-inline-space: 64px;
  --thvd-hero-margin-top: 28px;
  --thvd-hero-radius: 24px;
  --thvd-hero-aspect-ratio: 3 / 1;
  --thvd-hero-content-max: 1220px;
  --thvd-hero-content-padding-inline: 48px;
  --thvd-hero-content-padding-block: 30px;
  --thvd-hero-surface: #eef4f3;
  --thvd-hero-border: rgba(217, 169, 29, .28);
  --thvd-hero-shadow: 0 18px 48px rgba(0, 43, 73, .10);
  --thvd-hero-image-filter: brightness(1.04) saturate(.95);
  --thvd-hero-overlay: linear-gradient(90deg, rgba(251, 250, 247, .96) 0%, rgba(251, 250, 247, .82) 30%, rgba(251, 250, 247, .42) 49%, rgba(251, 250, 247, .08) 65%, transparent 78%);
  --thvd-hero-image-filter-clear: brightness(1.02) saturate(1.06) contrast(1.03);
  --thvd-hero-overlay-clear: linear-gradient(90deg, rgba(251, 250, 247, .92) 0%, rgba(251, 250, 247, .76) 29%, rgba(251, 250, 247, .30) 48%, rgba(251, 250, 247, .03) 63%, transparent 73%);
  --thvd-hero-title-color: var(--thvd-ink);
  --thvd-hero-title-size: var(--thvd-display-title-size);
  --thvd-hero-title-weight: 600;
  --thvd-hero-title-leading: 1.12;
  --thvd-hero-title-gap: 14px;
  --thvd-hero-title-max: 520px;
  --thvd-hero-copy-color: var(--thvd-muted);
  --thvd-hero-copy-size: 16px;
  --thvd-hero-copy-leading: 1.55;
  --thvd-hero-copy-gap: 24px;
  --thvd-hero-copy-max: 480px;
  --thvd-hero-kicker-color: var(--thvd-gold);
  --thvd-hero-kicker-size: 12px;
  --thvd-hero-kicker-weight: 700;
  --thvd-hero-kicker-leading: 1.4;
  --thvd-hero-kicker-tracking: .14em;
  --thvd-hero-kicker-gap: 12px;
  --thvd-hero-cta-radius: 8px;
  --thvd-hero-cta-font-size: 12px;
  --thvd-hero-cta-height: 44px;
  --thvd-hero-cta-min-width: 176px;
  --thvd-hero-cta-padding-inline: 20px;
}

html[data-thvd-theme="dark"] {
  --thvd-page: var(--color-bg-primary);
  --thvd-surface: var(--color-surface-1);
  --thvd-surface-soft: var(--color-surface-2);
  --thvd-ink: var(--color-text-primary-dark);
  --thvd-muted: var(--color-text-secondary-dark);
  --thvd-border: var(--color-border-dark);
  --thvd-shadow: 0 14px 34px rgba(0, 0, 0, .34);
  --thvd-hero-surface: var(--color-surface-1);
  --thvd-hero-border: rgba(239, 200, 77, .30);
  --thvd-gold-ink: var(--thvd-gold-soft);
  --thvd-hero-overlay: linear-gradient(90deg, rgba(7, 10, 25, .94) 0%, rgba(7, 10, 25, .78) 32%, rgba(7, 10, 25, .38) 53%, rgba(7, 10, 25, .06) 70%, transparent 82%);
  --thvd-hero-overlay-clear: linear-gradient(90deg, rgba(7, 10, 25, .90) 0%, rgba(7, 10, 25, .70) 31%, rgba(7, 10, 25, .27) 51%, rgba(7, 10, 25, .03) 68%, transparent 78%);
}

html body.thvd-system,
html body.thvd-system button,
html body.thvd-system input,
html body.thvd-system select,
html body.thvd-system textarea {
  font-family: "Be Vietnam Pro", "Inter", "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0;
}

html body.thvd-system *,
html body.thvd-system *::before,
html body.thvd-system *::after {
  box-sizing: border-box;
}

html body.thvd-system {
  overflow-x: clip !important;
}

html[data-thvd-theme] {
  overflow-x: clip;
}

html[data-thvd-theme="dark"] body.thvd-system {
  background-color: var(--thvd-page) !important;
  background-image: var(--thvd-dark-page-background) !important;
  background-size: var(--thvd-dark-page-background-size) !important;
  color: var(--thvd-ink) !important;
}

/* Shared header */
html body.thvd-system #site-navigation,
html body.thvd-system #site-navigation > div {
  background-color: transparent !important;
  border-color: rgba(217, 169, 29, .2) !important;
  color: #ffffff !important;
  contain: none !important;
  overflow: visible !important;
}

html body.thvd-system #site-navigation {
  background: var(--thvd-header-background) !important;
  background-size: var(--thvd-header-background-size) !important;
  border-bottom: 1px solid rgba(239, 200, 77, .18) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .025), 0 8px 24px rgba(3, 4, 15, .18) !important;
  isolation: isolate !important;
  transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease !important;
  z-index: 1000 !important;
}

html body.thvd-system #site-navigation.thvd-nav-scrolled {
  -webkit-backdrop-filter: blur(10px) saturate(1.12) !important;
  backdrop-filter: blur(10px) saturate(1.12) !important;
  background: var(--thvd-header-background-scrolled) !important;
  background-size: var(--thvd-header-background-size) !important;
  box-shadow: 0 10px 30px rgba(3, 4, 15, .34) !important;
}

html body.thvd-system #site-navigation.thvd-nav-scrolled > div {
  background-color: transparent !important;
}

html body.thvd-system #site-navigation > div {
  max-width: var(--thvd-container) !important;
}

html body.thvd-system #site-navigation #primary-menu > li > a,
html body.thvd-system #site-navigation a.thvd-nav-link,
html body.thvd-system #site-navigation .menu-item > a {
  color: rgba(255, 255, 255, .9) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

html body.thvd-system #site-navigation #primary-menu > li.current-menu-item > a,
html body.thvd-system #site-navigation #primary-menu > li.current_page_item > a,
html body.thvd-system #site-navigation #primary-menu > li:hover > a,
html body.thvd-system #site-navigation #primary-menu > li:focus-within > a,
html body.thvd-system #site-navigation a.thvd-nav-link.is-active,
html body.thvd-system #site-navigation a.thvd-nav-link:hover,
html body.thvd-system #site-navigation a.thvd-nav-link:focus-visible {
  color: var(--thvd-gold-soft) !important;
}

html body.thvd-system #site-navigation input[type="search"] {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(239, 200, 77, .46) !important;
  color: #ffffff !important;
}

html body.thvd-system #site-navigation input[type="search"]::placeholder {
  color: rgba(255, 255, 255, .66) !important;
}

html body.thvd-system #site-navigation .thvd-theme-toggle {
  align-items: center !important;
  appearance: none !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(239, 200, 77, .46) !important;
  border-radius: 50% !important;
  color: var(--thvd-gold-soft) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  flex: 0 0 40px !important;
  height: 40px !important;
  justify-content: center !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease !important;
  width: 40px !important;
}

html body.thvd-system #site-navigation .thvd-theme-toggle:hover,
html body.thvd-system #site-navigation .thvd-theme-toggle:focus-visible {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft) !important;
  color: var(--thvd-navy-950) !important;
  box-shadow: var(--thvd-focus-ring) !important;
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
}

html body.thvd-system #site-navigation .thvd-theme-toggle img {
  display: block !important;
  filter: brightness(0) saturate(100%) invert(80%) sepia(68%) saturate(436%) hue-rotate(358deg) brightness(95%) contrast(91%) !important;
  height: 20px !important;
  width: 20px !important;
}

html body.thvd-system #site-navigation .thvd-theme-toggle:hover img,
html body.thvd-system #site-navigation .thvd-theme-toggle:focus-visible img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(29%) saturate(1575%) hue-rotate(162deg) brightness(88%) contrast(104%) !important;
}

html body.thvd-system #mobile-menu,
html body.thvd-system #mobile-menu-overlay {
  background-color: var(--color-bg-secondary) !important;
  color: #ffffff !important;
}

html body.thvd-system #mobile-menu a {
  color: rgba(255, 255, 255, .9) !important;
}

@media (min-width: 1025px) {
  html body.thvd-system #site-navigation #primary-menu,
  html body.thvd-system #site-navigation #primary-menu > li,
  html body.thvd-system #site-navigation .thvd-ferry-menu,
  html body.thvd-system #site-navigation .thvd-discover-menu {
    contain: none !important;
    overflow: visible !important;
  }

  html body.thvd-system #site-navigation #primary-menu > li > ul.sub-menu,
  html body.thvd-system #site-navigation .thvd-ferry-submenu,
  html body.thvd-system #site-navigation .thvd-discover-submenu {
    background: rgba(11, 16, 33, .99) !important;
    border: 1px solid rgba(239, 200, 77, .42) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 40px rgba(0, 12, 24, .34) !important;
    color: #ffffff !important;
    min-width: 250px !important;
    overflow: visible !important;
    padding: 8px !important;
    z-index: 2147483001 !important;
  }

  html body.thvd-system #site-navigation #primary-menu > li > ul.sub-menu a,
  html body.thvd-system #site-navigation .thvd-ferry-submenu a,
  html body.thvd-system #site-navigation .thvd-discover-submenu a {
    border-radius: 6px !important;
    color: rgba(255, 255, 255, .9) !important;
    display: block !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    padding: 10px 12px !important;
    white-space: nowrap !important;
  }

  html body.thvd-system #site-navigation #primary-menu > li > ul.sub-menu a:hover,
  html body.thvd-system #site-navigation #primary-menu > li > ul.sub-menu a:focus-visible,
  html body.thvd-system #site-navigation .thvd-ferry-submenu a:hover,
  html body.thvd-system #site-navigation .thvd-discover-submenu a:hover {
    background: rgba(239, 200, 77, .12) !important;
    color: var(--thvd-gold-soft) !important;
  }
}

/* Homepage USP strip */
html body.thvd-home .thvd-home-usp {
  background: var(--thvd-page) !important;
  box-shadow: none !important;
  contain: none !important;
  margin: 0 !important;
  overflow: visible !important;
  padding: 18px 24px 8px !important;
  transform: none !important;
}

html body.thvd-home .thvd-home-usp > *,
html body.thvd-home .thvd-home-usp__inner {
  box-shadow: none !important;
  contain: none !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin: 0 auto !important;
  max-width: var(--thvd-container) !important;
  overflow: visible !important;
  padding: 0 !important;
  transform: none !important;
  width: 100% !important;
}

html body.thvd-home .thvd-home-usp__inner:hover,
html body.thvd-home .thvd-home-usp:hover {
  box-shadow: none !important;
  transform: none !important;
}

html body.thvd-home .thvd-home-usp__item {
  align-items: center !important;
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 7px 18px rgba(0, 43, 73, .07) !important;
  color: var(--thvd-ink) !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  height: auto !important;
  min-height: 96px !important;
  overflow: visible !important;
  padding: 14px 16px !important;
  transform: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

html body.thvd-home .thvd-home-usp__item:hover,
html body.thvd-home .thvd-home-usp__item:focus-within {
  background: var(--thvd-surface) !important;
  border-color: rgba(217, 169, 29, .72) !important;
  box-shadow: 0 9px 22px rgba(0, 43, 73, .1) !important;
  outline: none !important;
  transform: none !important;
}

html body.thvd-home .thvd-home-usp__icon {
  align-items: center !important;
  background: var(--thvd-navy-900) !important;
  border: 1px solid rgba(217, 169, 29, .72) !important;
  border-radius: 999px !important;
  color: var(--thvd-gold-soft) !important;
  display: inline-flex !important;
  height: 42px !important;
  justify-content: center !important;
  line-height: 1 !important;
  width: 42px !important;
}

html body.thvd-home .thvd-home-usp__icon img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(68%) saturate(436%) hue-rotate(358deg) brightness(95%) contrast(91%);
  height: 20px !important;
  width: 20px !important;
}

html body.thvd-home .thvd-home-usp__title {
  color: var(--thvd-ink) !important;
  display: block !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 0 3px !important;
}

html body.thvd-home .thvd-home-usp__text {
  color: var(--thvd-muted) !important;
  display: -webkit-box !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

/* Homepage products and investment banner share one rhythm. */
html body.thvd-home #products {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
  padding: 26px 24px 30px !important;
}

html body.thvd-home #products > .max-w-7xl {
  max-width: var(--thvd-container) !important;
  width: 100% !important;
}

html body.thvd-home #products > div > div:first-child {
  margin-bottom: 20px !important;
}

html body.thvd-home #products h2 {
  color: var(--thvd-ink) !important;
  font-size: clamp(24px, 2.1vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

/* Discover archive banner: the Home Hero system without CTA controls. */
html body.post-type-archive-bat-dong-san .thvd-discover-hero-shell {
  background: var(--thvd-page);
  overflow: visible;
  padding: var(--thvd-header-height) 0 var(--thvd-hero-margin-top);
  width: 100%;
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero {
  aspect-ratio: var(--thvd-hero-aspect-ratio);
  background: var(--thvd-hero-surface);
  border: 1px solid var(--thvd-hero-border);
  border-radius: var(--thvd-hero-radius);
  box-shadow: var(--thvd-hero-shadow);
  clip-path: inset(0 round var(--thvd-hero-radius));
  color: var(--thvd-hero-title-color);
  height: auto;
  isolation: isolate;
  margin: var(--thvd-hero-margin-top) auto 0;
  max-height: none;
  max-width: var(--thvd-hero-shell-max);
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: calc(100% - var(--thvd-hero-shell-inline-space));
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero-image {
  display: block;
  filter: var(--thvd-hero-image-filter);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  position: absolute;
  transform: none;
  width: 100%;
  z-index: -2;
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero-overlay {
  background: var(--thvd-hero-overlay);
  inset: 0;
  position: absolute;
  z-index: -1;
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin: 0 auto;
  max-width: var(--thvd-hero-content-max);
  min-height: 0;
  padding: var(--thvd-hero-content-padding-block) var(--thvd-hero-content-padding-inline);
  width: 100%;
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero-kicker {
  color: var(--thvd-hero-kicker-color);
  font-size: var(--thvd-hero-kicker-size);
  font-weight: var(--thvd-hero-kicker-weight);
  letter-spacing: var(--thvd-hero-kicker-tracking);
  line-height: var(--thvd-hero-kicker-leading);
  margin: 0 0 var(--thvd-hero-kicker-gap);
  max-width: var(--thvd-hero-title-max);
  text-transform: uppercase;
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero-title {
  color: var(--thvd-hero-title-color) !important;
  font-family: inherit !important;
  font-size: var(--thvd-hero-title-size) !important;
  font-weight: var(--thvd-hero-title-weight) !important;
  letter-spacing: 0 !important;
  line-height: var(--thvd-hero-title-leading) !important;
  margin: 0 0 var(--thvd-hero-title-gap) !important;
  max-width: var(--thvd-hero-title-max) !important;
  text-transform: none !important;
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero-description {
  color: var(--thvd-hero-copy-color);
  font-size: var(--thvd-hero-copy-size);
  font-weight: 400;
  line-height: var(--thvd-hero-copy-leading);
  margin: 0;
  max-width: var(--thvd-hero-copy-max);
}

html body.post-type-archive-bat-dong-san .thvd-discover__hero-inner > :last-child {
  margin-bottom: 0;
}

/* Catalog hero */
html body.thvd-catalog {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.thvd-catalog .thvd-catalog-hero-shell {
  background: var(--thvd-page);
  overflow: visible;
  padding: var(--thvd-header-height) 0 0;
  width: 100%;
}

html body.thvd-catalog .thvd-catalog__hero {
  aspect-ratio: var(--thvd-hero-aspect-ratio) !important;
  background: var(--thvd-hero-surface) !important;
  border: 1px solid var(--thvd-hero-border) !important;
  border-radius: var(--thvd-hero-radius) !important;
  box-shadow: var(--thvd-hero-shadow) !important;
  color: var(--thvd-hero-title-color) !important;
  height: auto !important;
  min-height: 0 !important;
  isolation: isolate;
  clip-path: inset(0 round var(--thvd-hero-radius)) !important;
  margin: var(--thvd-hero-margin-top) auto 0 !important;
  max-height: none !important;
  max-width: var(--thvd-hero-shell-max) !important;
  overflow: hidden !important;
  position: relative !important;
  width: calc(100% - var(--thvd-hero-shell-inline-space)) !important;
}

html body.thvd-catalog .thvd-catalog__hero-image {
  display: block !important;
  filter: var(--thvd-hero-image-filter-clear) !important;
  height: 100% !important;
  inset: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  position: absolute !important;
  width: 100% !important;
  z-index: -2 !important;
}

html body.thvd-catalog .thvd-catalog__hero-overlay {
  background: var(--thvd-hero-overlay-clear) !important;
  inset: 0 !important;
  position: absolute !important;
  z-index: -1 !important;
}

html body.thvd-catalog .thvd-catalog__hero-inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  justify-content: center !important;
  margin: 0 auto !important;
  max-width: var(--thvd-hero-content-max) !important;
  min-height: 0 !important;
  padding: var(--thvd-hero-content-padding-block) var(--thvd-hero-content-padding-inline) !important;
  width: 100% !important;
}

html body.thvd-catalog .thvd-catalog__hero-title {
  color: var(--thvd-hero-title-color) !important;
  font-family: inherit !important;
  font-size: var(--thvd-hero-title-size) !important;
  font-weight: var(--thvd-hero-title-weight) !important;
  letter-spacing: 0 !important;
  line-height: var(--thvd-hero-title-leading) !important;
  margin: 0 0 var(--thvd-hero-title-gap) !important;
  max-width: var(--thvd-hero-title-max) !important;
  text-transform: none !important;
}

html body.thvd-catalog .thvd-catalog__hero-description {
  color: var(--thvd-hero-copy-color) !important;
  font-size: var(--thvd-hero-copy-size) !important;
  font-weight: 400 !important;
  line-height: var(--thvd-hero-copy-leading) !important;
  margin: 0 0 var(--thvd-hero-copy-gap) !important;
  max-width: var(--thvd-hero-copy-max) !important;
}

html body.thvd-catalog .thvd-catalog__hero-kicker {
  color: var(--thvd-gold) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
  line-height: 1.4 !important;
  margin: 0 0 12px !important;
  max-width: 560px !important;
  text-transform: uppercase !important;
}

html body.thvd-catalog .thvd-catalog__hero-cta {
  align-items: center !important;
  align-self: flex-start !important;
  background: var(--thvd-gold) !important;
  border: 1px solid var(--thvd-gold) !important;
  border-radius: var(--thvd-hero-cta-radius) !important;
  box-shadow: 0 8px 20px rgba(217, 169, 29, .18) !important;
  color: var(--thvd-navy-950) !important;
  display: inline-flex !important;
  font-size: var(--thvd-hero-cta-font-size) !important;
  font-weight: 700 !important;
  justify-content: center !important;
  letter-spacing: .06em !important;
  line-height: 1 !important;
  min-height: var(--thvd-hero-cta-height) !important;
  min-width: var(--thvd-hero-cta-min-width) !important;
  padding: 0 var(--thvd-hero-cta-padding-inline) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

html body.thvd-catalog .thvd-catalog__hero-cta:hover,
html body.thvd-catalog .thvd-catalog__hero-cta:focus-visible {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft) !important;
  box-shadow: 0 10px 24px rgba(217, 169, 29, .28) !important;
  outline: 2px solid var(--thvd-navy-950) !important;
  outline-offset: 3px !important;
}

html body.thvd-catalog .thvd-catalog__usp-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-top: 15px !important;
  max-width: 920px !important;
}

html body.thvd-catalog .thvd-catalog__usp {
  align-items: center !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(217, 169, 29, .46) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(0, 43, 73, .08) !important;
  color: var(--thvd-ink) !important;
  display: flex !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  gap: 9px !important;
  min-height: 48px !important;
  padding: 8px 12px !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

html body.thvd-catalog .thvd-catalog__usp:hover,
html body.thvd-catalog .thvd-catalog__usp:focus-within {
  border-color: var(--thvd-gold) !important;
  box-shadow: 0 12px 28px rgba(0, 43, 73, .12) !important;
  transform: translateY(-2px) !important;
}

html body.thvd-catalog .thvd-catalog__usp-icon {
  background: var(--thvd-navy-900) !important;
  align-items: center !important;
  border: 1px solid rgba(217, 169, 29, .78) !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  flex: 0 0 30px !important;
  height: 30px !important;
  justify-content: center !important;
  width: 30px !important;
}

html body.thvd-catalog .thvd-catalog__usp-icon img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(68%) saturate(436%) hue-rotate(358deg) brightness(95%) contrast(91%);
  height: 16px !important;
  width: 16px !important;
}

/* Catalog search, price filter, chips, and products */
html body.thvd-catalog main.flex-grow,
html body.thvd-catalog main {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.thvd-catalog main.flex-grow {
  padding: 26px 24px 44px !important;
}

html body.thvd-catalog main > .max-w-7xl {
  max-width: var(--thvd-container) !important;
}

html body.thvd-catalog main > .max-w-7xl > header,
html body.thvd-catalog main .term-description {
  color: var(--thvd-muted) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 72ch !important;
}

html body.thvd-catalog main .term-description,
html body.thvd-catalog main .term-description p {
  color: var(--thvd-muted) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

html body.thvd-catalog .thvd-shop-layout {
  align-items: start !important;
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: 228px minmax(0, 1fr) !important;
  margin: 0 !important;
}

html body.thvd-catalog .thvd-catalog-controls {
  box-sizing: border-box;
  display: grid !important;
  gap: 10px !important;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 3fr) minmax(96px, 1fr);
  margin: 0 !important;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

html body.thvd-catalog .thvd-catalog-search,
html body.thvd-catalog .thvd-catalog-sort {
  margin: 0 !important;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

html body.thvd-catalog .thvd-shop-sidebar {
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--thvd-shadow) !important;
  color: var(--thvd-ink) !important;
  padding: 12px !important;
  position: sticky !important;
  top: 92px !important;
}

html body.thvd-catalog .thvd-shop-sidebar > div {
  background: transparent !important;
  color: var(--thvd-ink) !important;
  margin: 0 0 12px !important;
}

html body.thvd-catalog .thvd-shop-sidebar > div:last-child {
  margin-bottom: 0 !important;
}

html body.thvd-catalog .thvd-shop-sidebar h2,
html body.thvd-catalog .thvd-shop-sidebar h3,
html body.thvd-catalog .thvd-shop-sidebar > div:first-child > p,
html body.thvd-catalog .thvd-catalog__redundant-heading,
html body.thvd-catalog .thvd-ec-product-toolbar,
html body.thvd-catalog .thvd-shop-content > h2:first-child {
  display: none !important;
}

html body.thvd-catalog .thvd-catalog-search form[role="search"] {
  box-sizing: border-box;
  margin: 0 !important;
  min-height: 44px !important;
  position: relative !important;
  width: 100% !important;
}

html body.thvd-catalog .thvd-catalog-search form[role="search"] > span {
  color: var(--thvd-gold) !important;
  width: 40px !important;
  z-index: 1 !important;
}

html body.thvd-catalog .thvd-catalog-search input[type="search"] {
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  color: var(--thvd-ink) !important;
  font-size: 13px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 12px 0 40px !important;
  width: 100% !important;
}

html body.thvd-catalog .thvd-catalog-search input[type="search"]::placeholder {
  color: var(--thvd-muted) !important;
  opacity: .92 !important;
}

html body.thvd-catalog .thvd-catalog-sort select {
  appearance: auto;
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  color: var(--thvd-ink) !important;
  font-size: 13px !important;
  height: 44px !important;
  margin: 0 !important;
  max-width: 100%;
  min-height: 44px !important;
  min-width: 0;
  padding: 0 10px !important;
  width: 100% !important;
}

html body.thvd-catalog .thvd-price-filter {
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 10px !important;
  color: var(--thvd-ink) !important;
  padding: 9px 10px !important;
}

html body.thvd-catalog .thvd-price-filter[hidden] {
  display: none !important;
}

html body.thvd-catalog .thvd-price-filter .thvd-price-filter__hint {
  color: var(--thvd-muted) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  margin: 9px 0 0 !important;
}

html body.thvd-catalog .thvd-price-filter p,
html body.thvd-catalog .thvd-price-filter span,
html body.thvd-catalog .thvd-price-filter label,
html body.thvd-catalog .thvd-price-filter div,
html body.thvd-catalog .thvd-price-filter output,
html body.thvd-catalog .thvd-shop-sidebar [data-thvd-price-max-label],
html body.thvd-catalog .thvd-shop-sidebar [data-thvd-price-range-max] {
  color: var(--thvd-muted) !important;
  font-size: 11px !important;
}

html body.thvd-catalog .thvd-price-filter > p:first-child,
html body.thvd-catalog .thvd-price-filter [data-thvd-price-max-label] {
  display: none !important;
}

html body.thvd-catalog .thvd-price-filter > div:first-child {
  margin-bottom: 4px !important;
}

html body.thvd-catalog .thvd-price-filter input[type="range"],
html body.thvd-catalog .thvd-shop-sidebar input[type="range"] {
  accent-color: var(--thvd-gold) !important;
  color: var(--thvd-gold) !important;
  height: 24px !important;
  margin: 0 !important;
  width: 100% !important;
}

html body.thvd-catalog :is(.thvd-ec-tabs-wrap, .thvd-category-tabs) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
  max-width: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  width: 100% !important;
}

html body.thvd-catalog .thvd-category-tabs ul {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

html body.thvd-catalog .thvd-category-tabs ul {
  align-items: flex-start !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}

html body.thvd-catalog .thvd-category-tabs li {
  flex: 0 0 auto !important;
  list-style: none !important;
  margin: 0 !important;
  width: max-content !important;
}

html body.thvd-catalog.woocommerce .thvd-category-tabs a.thvd-filter-link,
html body.thvd-catalog.woocommerce .thvd-category-tabs a.thvd-filter-link:not(.thvd-filter-link--active),
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link,
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link:not(.thvd-filter-link--active) {
  align-items: center !important;
  background: var(--thvd-surface) !important;
  border: 1px solid #b7c2cc !important;
  border-radius: 999px !important;
  color: var(--thvd-ink) !important;
  display: inline-flex !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  flex: 0 0 auto !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  width: max-content !important;
}

html body.thvd-catalog.woocommerce .thvd-category-tabs a.thvd-filter-link--active,
html body.thvd-catalog.woocommerce .thvd-category-tabs a.thvd-filter-link[aria-pressed="true"],
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link--active,
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link[aria-pressed="true"] {
  background: var(--thvd-gold) !important;
  border-color: var(--thvd-gold) !important;
  color: var(--thvd-navy-950) !important;
  font-weight: 600 !important;
}

html body.thvd-catalog.woocommerce .thvd-category-tabs a.thvd-filter-link:hover,
html body.thvd-catalog.woocommerce .thvd-category-tabs a.thvd-filter-link:focus-visible,
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link:hover,
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link:focus-visible {
  border-color: var(--thvd-gold) !important;
  color: var(--thvd-ink) !important;
  box-shadow: 0 0 0 3px rgba(217, 169, 29, .28) !important;
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
}

html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link *,
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link:not(.thvd-filter-link--active) * {
  color: var(--thvd-ink) !important;
  opacity: 1 !important;
}

html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link--active *,
html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link[aria-pressed="true"] * {
  color: var(--thvd-navy-950) !important;
}

html body.thvd-catalog .thvd-shop-content {
  min-width: 0 !important;
}

html body.thvd-catalog .thvd-filter-status {
  color: var(--thvd-muted) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  margin: 0 0 8px !important;
  min-height: 17px !important;
}

html body.thvd-catalog #thvd-products-loop.thvd-products-loop--loading {
  opacity: .55 !important;
  pointer-events: none !important;
  transition: opacity .18s ease !important;
}

html body.thvd-catalog #thvd-products-loop {
  align-items: stretch !important;
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html body.thvd-catalog #thvd-products-loop > .product,
html body.thvd-catalog #thvd-products-loop .thvd-product-card {
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(0, 43, 73, .06) !important;
  color: var(--thvd-ink) !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 8px !important;
}

html body.thvd-catalog #thvd-products-loop > .product {
  display: flex;
}

html body.thvd-catalog #thvd-products-loop .thvd-product-card {
  display: flex !important;
}

html body.thvd-catalog #thvd-products-loop > .product[hidden],
html body.thvd-catalog #thvd-products-loop > .product[style*="display: none"] {
  display: none !important;
}

html body.thvd-catalog #thvd-products-loop .aspect-square,
html body.thvd-catalog #thvd-products-loop img {
  border-radius: 8px !important;
}

html body.thvd-catalog #thvd-products-loop h2,
html body.thvd-catalog #thvd-products-loop h3,
html body.thvd-catalog #thvd-products-loop .thvd-product-title {
  color: var(--thvd-ink) !important;
  display: -webkit-box !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  min-height: 34px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body.thvd-catalog #thvd-products-loop .price,
html body.thvd-catalog #thvd-products-loop .thvd-product-card__price,
html body.thvd-catalog #thvd-products-loop .woocommerce-Price-amount {
  color: var(--thvd-gold) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
}

/* Product card purchase row: price and real WooCommerce quick-add stay aligned. */
html body.thvd-system .thvd-product-card__meta {
  align-items: center !important;
  display: flex !important;
  gap: 8px !important;
  justify-content: space-between !important;
  margin-top: 4px !important;
  min-height: 36px !important;
  width: 100% !important;
}

html body.thvd-system .thvd-product-card__meta .thvd-product-card__price,
html body.thvd-system .thvd-product-card__meta .price {
  flex: 1 1 auto !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
}

html body.thvd-system .thvd-product-card__purchase {
  align-items: center;
  display: flex;
  flex: 0 0 44px;
  justify-content: flex-end;
  min-width: 44px;
  position: relative;
  z-index: 40;
}

html body.thvd-system .thvd-product-card__meta [data-thvd-quick-add="1"],
html body.thvd-system .thvd-product-card__meta [aria-label="Chọn"],
html body.thvd-system .thvd-product-card__meta .thvd-product-link-action,
html body.thvd-system .thvd-product-card__meta .thvd-product-card__quick-add {
  align-items: center !important;
  background: var(--thvd-gold) !important;
  border: 1px solid var(--thvd-gold) !important;
  border-radius: 9px !important;
  bottom: auto !important;
  color: var(--thvd-navy-950) !important;
  display: inline-flex !important;
  flex: 0 0 44px !important;
  font-size: 27px !important;
  font-weight: 500 !important;
  height: 44px !important;
  inset: auto !important;
  justify-content: center !important;
  margin: 0 !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: static !important;
  right: auto !important;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease !important;
  width: 44px !important;
  z-index: auto !important;
}

html body.thvd-system .thvd-product-card__meta [data-thvd-quick-add="1"]:hover,
html body.thvd-system .thvd-product-card__meta [data-thvd-quick-add="1"]:focus-visible,
html body.thvd-system .thvd-product-card__meta .thvd-product-card__quick-add:hover,
html body.thvd-system .thvd-product-card__meta .thvd-product-card__quick-add:focus-visible {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft) !important;
  box-shadow: 0 7px 16px rgba(217, 169, 29, .22) !important;
  outline: 3px solid rgba(217, 169, 29, .42) !important;
  outline-offset: 2px !important;
}

html body.thvd-system .thvd-product-card__meta [data-thvd-quick-add="1"].is-loading,
html body.thvd-system .thvd-product-card__meta .thvd-product-card__quick-add.loading {
  cursor: wait !important;
  opacity: .55 !important;
  pointer-events: none !important;
}

html body.thvd-system .thvd-product-card__meta [data-thvd-quick-add="1"].is-added,
html body.thvd-system .thvd-product-card__meta .thvd-product-card__quick-add.added {
  background: var(--thvd-gold-soft) !important;
  box-shadow: 0 0 0 4px rgba(217, 169, 29, .16) !important;
}

/* Variation choice is a compact popover anchored to the shared quick-add button. */
html body.thvd-system .thvd-product-card__variation-selector {
  background: var(--thvd-surface-soft);
  border: 1px solid var(--thvd-border);
  border-radius: 12px;
  bottom: auto;
  box-shadow: 0 16px 38px rgba(3, 4, 15, .24);
  color: var(--thvd-ink);
  display: grid;
  gap: 6px;
  left: 12px;
  margin: 0;
  max-height: none;
  max-width: calc(100vw - 24px);
  min-width: 0;
  overflow: visible;
  padding: 10px;
  position: fixed;
  right: auto;
  top: auto;
  transform: none;
  width: min(260px, calc(100vw - 24px));
  z-index: 1305;
}

html body.thvd-system .thvd-product-card__variation-selector[hidden] {
  display: none !important;
}

html body.thvd-system .thvd-product-card__variation-selector.is-below {
  bottom: auto;
  top: auto;
}

html body.thvd-system .thvd-product-card__variation-header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

html body.thvd-system .thvd-product-card__variation-label {
  color: var(--thvd-ink);
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
}

html body.thvd-system .thvd-product-card__variation-close {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: var(--thvd-muted);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

html body.thvd-system .thvd-product-card__variation-close:hover,
html body.thvd-system .thvd-product-card__variation-close:focus-visible {
  color: var(--thvd-ink);
  outline: 2px solid rgba(217, 169, 29, .42);
  outline-offset: 1px;
}

html body.thvd-system .thvd-product-card__variation-options {
  display: grid;
  gap: 7px;
  max-height: min(220px, var(--thvd-variation-options-max-height, calc(100dvh - 150px)));
  min-width: 0;
  overscroll-behavior: contain;
  overflow-y: auto;
  scrollbar-gutter: stable;
  width: 100%;
}

html body.thvd-system .thvd-product-card__variation-option {
  align-items: center;
  appearance: none;
  background-color: var(--thvd-surface);
  border: 1px solid var(--thvd-border);
  border-radius: 8px;
  color: var(--thvd-ink);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  font: inherit;
  line-height: 1.35;
  min-height: 44px;
  min-width: 0;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

html body.thvd-system .thvd-product-card__variation-option:hover {
  background: var(--thvd-surface-soft);
  border-color: var(--thvd-gold);
}

html body.thvd-system .thvd-product-card__variation-option:focus-visible {
  outline: 3px solid rgba(217, 169, 29, .42);
  outline-offset: 2px;
}

html body.thvd-system .thvd-product-card__variation-option:disabled,
html body.thvd-system .thvd-product-card__variation-option.is-loading {
  cursor: wait;
  opacity: .58;
}

html body.thvd-system .thvd-product-card__variation-option-label {
  font-size: 14px;
  font-weight: 650;
  min-width: 0;
  overflow-wrap: anywhere;
}

html body.thvd-system .thvd-product-card__variation-option-price {
  color: var(--thvd-gold);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

html body.thvd-system .thvd-product-card__variation-status,
html body.thvd-system .thvd-product-card__variation-selector [data-thvd-variation-status] {
  color: var(--thvd-muted);
  font-size: 10.5px;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}

html body.thvd-system .thvd-product-card__variation-status:empty,
html body.thvd-system .thvd-product-card__variation-selector [data-thvd-variation-status]:empty {
  display: none;
}

html body.thvd-system .thvd-product-card__variation-status.is-error,
html body.thvd-system .thvd-product-card__variation-selector [data-thvd-variation-status].is-error,
html body.thvd-system .thvd-product-card__variation-selector.is-error [data-thvd-variation-status] {
  color: #a43f3f;
}

html body.thvd-system .thvd-product-card__quick-status {
  background: var(--thvd-surface);
  border: 1px solid var(--thvd-border);
  border-radius: 8px;
  bottom: 54px;
  box-shadow: 0 8px 20px rgba(0, 43, 73, .15);
  color: var(--thvd-ink);
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  max-width: calc(100% - 16px);
  opacity: 0;
  padding: 7px 9px;
  pointer-events: none;
  position: absolute;
  right: 8px;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  visibility: hidden;
  z-index: 70;
}

html body.thvd-system .thvd-product-card__quick-status:empty {
  display: none;
}

html body.thvd-system .thvd-product-card__quick-status.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

html body.thvd-system .thvd-product-card__quick-status.is-error {
  border-color: #b94949;
  color: #8f3030;
}

/* Floating contact: stable placement, restrained motion, and a short greeting. */
html body.thvd-system .thvd-floating-social.thvd-floating-social--enhanced {
  align-items: center !important;
  bottom: 20px !important;
  contain: none !important;
  display: flex !important;
  gap: 9px !important;
  height: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  right: 16px !important;
  top: auto !important;
  transform: none !important;
  z-index: 1200 !important;
}

html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn {
  align-items: center !important;
  animation: none !important;
  background: linear-gradient(145deg, var(--thvd-gold-soft), var(--thvd-gold)) !important;
  border: 1px solid rgba(255, 255, 255, .58) !important;
  border-radius: 50% !important;
  box-shadow: 0 7px 18px rgba(0, 43, 73, .18) !important;
  display: inline-flex !important;
  flex: 0 0 48px !important;
  height: 48px !important;
  justify-content: center !important;
  margin: 0 !important;
  opacity: 1 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: auto !important;
  position: relative !important;
  transform: translateZ(0) !important;
  transition: box-shadow .2s ease, transform .2s ease !important;
  width: 48px !important;
}

html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:hover,
html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:focus-visible {
  box-shadow: 0 10px 24px rgba(0, 43, 73, .24) !important;
  outline: 3px solid rgba(217, 169, 29, .48) !important;
  outline-offset: 2px !important;
  transform: translateY(-2px) !important;
}

html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn svg {
  animation: thvd-contact-icon-float 5.4s ease-in-out infinite !important;
  display: block !important;
  height: 20px !important;
  max-height: 20px !important;
  max-width: 24px !important;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  width: auto !important;
}

html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:nth-of-type(2) svg {
  animation-delay: -1.8s !important;
}

html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:nth-of-type(3) svg {
  animation-delay: -3.6s !important;
}

html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:hover svg,
html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:focus-visible svg {
  animation-play-state: paused !important;
}

html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn--zalo svg {
  height: 28px !important;
  max-height: 28px !important;
  max-width: 36px !important;
}

html body.thvd-system .thvd-contact-greeting {
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 8px !important;
  bottom: 0 !important;
  box-shadow: var(--thvd-shadow) !important;
  color: var(--thvd-ink) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  max-width: 340px !important;
  min-width: 0 !important;
  opacity: 0 !important;
  padding: 17px 56px 17px 18px !important;
  pointer-events: none !important;
  position: absolute !important;
  right: calc(100% + 12px) !important;
  text-align: left !important;
  transform: translateX(8px) !important;
  transition: opacity .22s ease, transform .22s ease !important;
  visibility: hidden !important;
  width: min(340px, calc(100vw - 120px)) !important;
}

html body.thvd-system .thvd-contact-greeting.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
  visibility: visible !important;
}

html body.thvd-system .thvd-contact-greeting p,
html body.thvd-system .thvd-contact-greeting strong,
html body.thvd-system .thvd-contact-greeting span {
  display: block !important;
  margin: 0 !important;
  min-width: 0 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

html body.thvd-system .thvd-contact-greeting strong {
  color: var(--thvd-ink) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin-bottom: 5px !important;
  text-wrap: balance !important;
}

html body.thvd-system .thvd-contact-greeting span {
  color: var(--thvd-muted) !important;
}

html body.thvd-system .thvd-contact-greeting__close {
  align-items: center !important;
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: var(--thvd-muted) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font: inherit !important;
  font-size: 20px !important;
  height: 44px !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  position: absolute !important;
  right: 1px !important;
  top: 1px !important;
  width: 44px !important;
}

html body.thvd-system .thvd-contact-greeting__close:hover,
html body.thvd-system .thvd-contact-greeting__close:focus-visible {
  background: rgba(217, 169, 29, .14) !important;
  color: var(--thvd-ink) !important;
  outline: 2px solid var(--thvd-gold) !important;
  outline-offset: 1px !important;
}

@keyframes thvd-contact-icon-float {
  0%,
  18%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  8% {
    transform: translate3d(0, -1.5px, 0) scale(1.025);
  }

  13% {
    transform: translate3d(0, -.5px, 0) scale(1.01);
  }
}

/* News archive: shared Hero visual system and theme-aware editorial cards. */
html body.category-tin-tuc {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.category-tin-tuc .thvd-news-hero-shell {
  background: var(--thvd-page);
  overflow: visible;
  padding: var(--thvd-header-height) 0 var(--thvd-hero-margin-top);
  width: 100%;
}

html body.category-tin-tuc .thvd-news__hero {
  aspect-ratio: var(--thvd-hero-aspect-ratio);
  background: var(--thvd-hero-surface);
  border: 1px solid var(--thvd-hero-border);
  border-radius: var(--thvd-hero-radius);
  box-shadow: var(--thvd-hero-shadow);
  clip-path: inset(0 round var(--thvd-hero-radius));
  color: var(--thvd-hero-title-color);
  isolation: isolate;
  margin: var(--thvd-hero-margin-top) auto 0;
  max-width: var(--thvd-hero-shell-max);
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: calc(100% - var(--thvd-hero-shell-inline-space));
}

html body.category-tin-tuc .thvd-news__hero-image {
  display: block;
  filter: var(--thvd-hero-image-filter-clear);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  position: absolute;
  transform: none;
  width: 100%;
  z-index: -2;
}

html body.category-tin-tuc .thvd-news__hero-overlay {
  background: var(--thvd-hero-overlay-clear);
  inset: 0;
  position: absolute;
  z-index: -1;
}

html body.category-tin-tuc .thvd-news__hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin: 0 auto;
  max-width: var(--thvd-hero-content-max);
  min-height: 0;
  padding: var(--thvd-hero-content-padding-block) var(--thvd-hero-content-padding-inline);
  width: 100%;
}

html body.category-tin-tuc .thvd-news__hero-kicker {
  color: var(--thvd-hero-kicker-color);
  font-size: var(--thvd-hero-kicker-size);
  font-weight: var(--thvd-hero-kicker-weight);
  letter-spacing: var(--thvd-hero-kicker-tracking);
  line-height: var(--thvd-hero-kicker-leading);
  margin: 0 0 var(--thvd-hero-kicker-gap);
  max-width: var(--thvd-hero-title-max);
  text-transform: uppercase;
}

html body.category-tin-tuc .thvd-news__hero-title {
  color: var(--thvd-hero-title-color) !important;
  font-family: inherit !important;
  font-size: var(--thvd-hero-title-size) !important;
  font-weight: var(--thvd-hero-title-weight) !important;
  letter-spacing: 0 !important;
  line-height: var(--thvd-hero-title-leading) !important;
  margin: 0 0 var(--thvd-hero-title-gap) !important;
  max-width: var(--thvd-hero-title-max) !important;
  text-transform: none !important;
}

html body.category-tin-tuc .thvd-news__hero-description {
  color: var(--thvd-hero-copy-color);
  font-size: var(--thvd-hero-copy-size);
  font-weight: 400;
  line-height: var(--thvd-hero-copy-leading);
  margin: 0;
  max-width: var(--thvd-hero-copy-max);
}

html body.category-tin-tuc .thvd-news__hero-inner > :last-child {
  margin-bottom: 0 !important;
}

html body.category-tin-tuc main.thvd-news-archive {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
  min-height: 50vh;
  padding: 18px var(--thvd-shell-gutter) 64px;
}

html body.category-tin-tuc .thvd-news-archive__inner {
  margin: 0 auto;
  max-width: var(--thvd-container);
  min-width: 0;
  width: 100%;
}

html body.category-tin-tuc .thvd-news-featured-grid,
html body.category-tin-tuc .thvd-news-featured-grid > *,
html body.category-tin-tuc .thvd-news-regular-grid,
html body.category-tin-tuc .thvd-news-regular-grid > * {
  min-width: 0;
}

html body.category-tin-tuc .thvd-news-featured-grid > [data-thvd-card-anim] {
  background: var(--thvd-surface-soft);
  border-color: var(--thvd-border) !important;
  box-shadow: var(--thvd-shadow);
  min-height: 430px;
}

html body.category-tin-tuc .thvd-news-featured-grid > [data-thvd-card-anim] img,
html body.category-tin-tuc .thvd-news-featured-list img,
html body.category-tin-tuc .thvd-news-regular-grid img {
  filter: none !important;
  opacity: 1 !important;
}

html body.category-tin-tuc .thvd-news-featured-grid > [data-thvd-card-anim] h2 {
  color: #ffffff !important;
  font-size: clamp(24px, 2.3vw, 34px) !important;
  line-height: 1.2 !important;
}

html body.category-tin-tuc .thvd-news-featured-grid > [data-thvd-card-anim] p {
  color: rgba(255, 255, 255, .82) !important;
}

html body.category-tin-tuc .thvd-news-featured-list > a {
  align-items: center;
  background: var(--thvd-surface);
  border: 1px solid var(--thvd-border);
  border-radius: 16px;
  box-shadow: var(--thvd-shadow);
  color: var(--thvd-ink);
  gap: 18px;
  min-width: 0;
  padding: 12px;
}

html body.category-tin-tuc .thvd-news-featured-list > a > div:last-child {
  min-width: 0;
}

html body.category-tin-tuc .thvd-news-featured-list h3,
html body.category-tin-tuc .thvd-news-regular-grid h3 {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

html body.category-tin-tuc .thvd-news-featured-list span:last-child,
html body.category-tin-tuc .thvd-news-regular-grid p,
html body.category-tin-tuc .thvd-news-regular-grid .text-gold\/40 {
  color: var(--thvd-muted) !important;
}

html body.category-tin-tuc .thvd-news-featured-list span:first-child,
html body.category-tin-tuc .thvd-news-regular-grid .text-gold {
  color: var(--thvd-gold-ink) !important;
}

html body.category-tin-tuc .thvd-news-regular-grid > [data-thvd-card-anim] {
  background: var(--thvd-surface) !important;
  border-color: var(--thvd-border) !important;
  box-shadow: var(--thvd-shadow);
  color: var(--thvd-ink);
}

html body.category-tin-tuc .thvd-news-regular-grid a {
  color: inherit;
  display: block;
  min-width: 0;
  text-decoration: none;
}

html body.category-tin-tuc .thvd-news-regular-grid [class*="border-t"] {
  border-color: var(--thvd-border) !important;
}

html body.category-tin-tuc .thvd-news-pagination .page-numbers:not(.current) {
  border-color: var(--thvd-border) !important;
  color: var(--thvd-muted) !important;
}

html body.category-tin-tuc .thvd-news-pagination .page-numbers:hover,
html body.category-tin-tuc .thvd-news-pagination .page-numbers:focus-visible {
  border-color: var(--thvd-gold) !important;
  color: var(--thvd-gold-ink) !important;
  outline: 2px solid var(--thvd-gold);
  outline-offset: 2px;
}

html body.category-tin-tuc .thvd-news-empty p {
  color: var(--thvd-muted) !important;
}

/* News article pages keep the same theme tokens without changing Admin copy. */
html body.single-post {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.single-post main.flex-grow {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
  padding: calc(var(--thvd-header-height) + var(--thvd-hero-margin-top)) var(--thvd-shell-gutter) 56px !important;
}

html body.single-post main.flex-grow > .max-w-4xl {
  margin: 0 auto !important;
  max-width: 1040px !important;
  min-width: 0;
  width: 100%;
}

html body.single-post main header h1 {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-size: var(--thvd-hero-title-size) !important;
  font-weight: var(--thvd-hero-title-weight) !important;
  letter-spacing: 0 !important;
  line-height: var(--thvd-hero-title-leading) !important;
}

html body.single-post main header span,
html body.single-post main > div > div:first-child a,
html body.single-post main article.prose,
html body.single-post main article.prose p,
html body.single-post main article.prose li {
  color: var(--thvd-muted) !important;
}

html body.single-post main article.prose h2,
html body.single-post main article.prose h3,
html body.single-post main article.prose h4,
html body.single-post main article.prose strong {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
}

html body.single-post main article.prose a {
  color: var(--thvd-gold-ink) !important;
}

html body.single-post main img {
  filter: none !important;
  opacity: 1 !important;
}

html body.single-post main section [class*="bg-white"] {
  background: var(--thvd-surface) !important;
  border-color: var(--thvd-border) !important;
}

html body.single-post main section h4 {
  color: var(--thvd-ink) !important;
}

/* Real-estate content below the already-approved Discover banner. */
html body.post-type-archive-bat-dong-san {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.post-type-archive-bat-dong-san main.thvd-bds-archive {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
  padding: 20px var(--thvd-shell-gutter) 64px;
}

html body.post-type-archive-bat-dong-san .thvd-bds-archive__inner {
  margin: 0 auto;
  max-width: var(--thvd-container);
  min-width: 0;
  width: 100%;
}

html body.post-type-archive-bat-dong-san .thvd-bds-archive__list {
  gap: 34px !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card {
  background: var(--thvd-surface);
  border: 1px solid var(--thvd-border);
  border-radius: 18px;
  box-shadow: var(--thvd-shadow);
  color: var(--thvd-ink);
  gap: 28px !important;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  width: 100%;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__media {
  background: var(--thvd-surface-soft) !important;
  border-color: var(--thvd-border) !important;
  border-radius: 12px;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__media img {
  filter: none !important;
  opacity: 1 !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__content {
  min-width: 0;
  padding: 8px 10px;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__title {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-size: clamp(20px, 1.65vw, 26px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__fact,
html body.post-type-archive-bat-dong-san .thvd-bds-card__price-label {
  color: var(--thvd-muted) !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__fact svg,
html body.post-type-archive-bat-dong-san .thvd-bds-card__badge,
html body.post-type-archive-bat-dong-san .thvd-bds-card__price {
  color: var(--thvd-gold-ink) !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__footer {
  border-color: var(--thvd-border) !important;
  gap: 20px;
  min-width: 0;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__footer > div {
  min-width: 0;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__price {
  font-size: clamp(22px, 2vw, 30px) !important;
  overflow-wrap: anywhere;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__cta,
html body.post-type-archive-bat-dong-san .thvd-bds-contact-link--archive {
  align-items: center;
  border: 1px solid var(--thvd-gold);
  border-radius: var(--thvd-hero-cta-radius);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: var(--thvd-hero-cta-height);
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
}

html body.post-type-archive-bat-dong-san .thvd-bds-contact-link--archive {
  background: var(--thvd-gold) !important;
  color: var(--thvd-navy-950) !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__cta {
  background: transparent !important;
  color: var(--thvd-gold-ink) !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-contact-link--archive:hover,
html body.post-type-archive-bat-dong-san .thvd-bds-contact-link--archive:focus-visible {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft);
  outline: 2px solid var(--thvd-gold);
  outline-offset: 3px;
}

html body.post-type-archive-bat-dong-san .thvd-bds-card__cta:hover,
html body.post-type-archive-bat-dong-san .thvd-bds-card__cta:focus-visible {
  background: var(--thvd-surface-soft) !important;
  color: var(--thvd-ink) !important;
  outline: 2px solid var(--thvd-gold);
  outline-offset: 3px;
}

html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal {
  background: var(--thvd-surface-soft) !important;
  border-color: var(--thvd-border) !important;
  border-radius: 18px;
  box-shadow: var(--thvd-shadow);
  color: var(--thvd-ink);
  margin-top: 48px !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal h3 {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal p,
html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal li {
  color: var(--thvd-muted) !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal button {
  border-color: var(--thvd-gold) !important;
  border-radius: var(--thvd-hero-cta-radius);
  color: var(--thvd-gold-ink) !important;
}

html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal button:hover,
html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal button:focus-visible {
  background: var(--thvd-gold) !important;
  color: var(--thvd-navy-950) !important;
  outline: 2px solid var(--thvd-gold);
  outline-offset: 3px;
}

html body.post-type-archive-bat-dong-san .navigation {
  border-color: var(--thvd-border) !important;
}

/* Real-estate details share the same light/dark surfaces and data. */
html body.single-bat-dong-san {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.single-bat-dong-san main.flex-grow {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
  padding: calc(var(--thvd-header-height) + var(--thvd-hero-margin-top)) var(--thvd-shell-gutter) 60px !important;
}

html body.single-bat-dong-san main.flex-grow > .max-w-7xl {
  margin: 0 auto !important;
  max-width: var(--thvd-container) !important;
  min-width: 0;
  width: 100%;
}

html body.single-bat-dong-san [data-product-detail],
html body.single-bat-dong-san [data-product-detail] > * {
  min-width: 0;
}

html body.single-bat-dong-san main [data-main-product-image],
html body.single-bat-dong-san main [data-main-product-image-overlay],
html body.single-bat-dong-san main [data-gallery-thumb] img {
  filter: none !important;
  opacity: 1 !important;
}

html body.single-bat-dong-san main article.prose,
html body.single-bat-dong-san main article.prose p,
html body.single-bat-dong-san main article.prose li,
html body.single-bat-dong-san main nav,
html body.single-bat-dong-san main [data-back-button] {
  color: var(--thvd-muted) !important;
}

html body.single-bat-dong-san main article.prose h2,
html body.single-bat-dong-san main article.prose h3,
html body.single-bat-dong-san main article.prose h4,
html body.single-bat-dong-san main article.prose strong,
html body.single-bat-dong-san [data-product-detail] h1 {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
}

html body.single-bat-dong-san [data-product-detail] .thvd-bds-detail__title {
  font-size: clamp(22px, 1.65vw, 26px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

html body.single-bat-dong-san main article.prose a {
  color: var(--thvd-gold-ink) !important;
}

html body.single-bat-dong-san [data-product-detail] > div:last-child > div {
  background: var(--thvd-surface) !important;
  border-color: var(--thvd-border) !important;
  border-radius: 16px;
  box-shadow: var(--thvd-shadow);
}

html body.single-bat-dong-san [data-product-detail] > div:last-child p {
  color: var(--thvd-muted) !important;
}

html body.single-bat-dong-san [data-product-detail] > div:last-child p.text-gold {
  color: var(--thvd-gold-ink) !important;
}

html body.single-bat-dong-san .thvd-bds-contact-link--single {
  align-items: center;
  background: var(--thvd-gold) !important;
  border: 1px solid var(--thvd-gold);
  border-radius: var(--thvd-hero-cta-radius);
  color: var(--thvd-navy-950) !important;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 56px;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}

html body.single-bat-dong-san .thvd-bds-contact-link--single:hover,
html body.single-bat-dong-san .thvd-bds-contact-link--single:focus-visible {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft);
  outline: 2px solid var(--thvd-gold);
  outline-offset: 3px;
}

/* Five ferry pages: one render scope and one token-based visual owner. */
html body.thvd-ferry-content {
  background-color: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.thvd-ferry-content #primary.site-main {
  background-color: transparent !important;
  color: var(--thvd-ink) !important;
  display: block !important;
  padding: calc(var(--thvd-header-height) + var(--thvd-hero-margin-top)) var(--thvd-shell-gutter) 48px !important;
}

html body.thvd-ferry-content #primary.site-main > div {
  margin: 0 auto !important;
  max-width: var(--thvd-container) !important;
  min-width: 0;
  width: 100% !important;
}

html body.thvd-ferry-content #primary article,
html body.thvd-ferry-content #primary article > *,
html body.thvd-ferry-content #primary .prose {
  min-width: 0;
}

html body.thvd-ferry-content #primary article > header {
  margin: 0 0 26px !important;
}

html body.thvd-ferry-content #primary article > header h1 {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-size: clamp(28px, 2.55vw, 38px) !important;
  font-weight: var(--thvd-hero-title-weight) !important;
  letter-spacing: 0 !important;
  line-height: 1.16 !important;
  margin: 0 0 14px !important;
  max-width: min(100%, 1080px);
  overflow-wrap: break-word;
  text-align: left !important;
  text-wrap: balance;
  word-break: normal;
}

html body.thvd-ferry-content #primary article > header > div:last-child {
  background: var(--thvd-gold) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html body.thvd-ferry-content #primary .prose {
  color: var(--thvd-muted) !important;
  font-family: inherit !important;
  line-height: 1.75 !important;
  max-width: none !important;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) {
  color: var(--thvd-muted);
  font-family: inherit;
  margin: 0 auto;
  max-width: none;
  padding: 0 0 52px;
  width: 100%;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) * {
  box-sizing: border-box;
  min-width: 0;
}

html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) {
  align-items: end;
  background: var(--thvd-navy-950);
  border: 1px solid var(--thvd-hero-border);
  border-radius: var(--thvd-hero-radius);
  box-shadow: var(--thvd-hero-shadow);
  display: grid;
  aspect-ratio: var(--thvd-hero-aspect-ratio);
  isolation: isolate;
  margin: 0 0 28px;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) > img {
  display: block;
  filter: none;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  position: absolute;
  transform: none;
  width: 100%;
  z-index: -2;
}

html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero)::after {
  background: linear-gradient(180deg, rgba(0, 24, 42, .02) 16%, rgba(0, 24, 42, .30) 54%, rgba(0, 24, 42, .92) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) .inner {
  align-self: end;
  padding: clamp(22px, 4vw, 44px);
  position: relative;
  width: 100%;
  z-index: 1;
}

html body.thvd-ferry-content .thvd-eyebrow {
  color: var(--thvd-gold-soft) !important;
  font-size: var(--thvd-hero-kicker-size) !important;
  font-weight: var(--thvd-hero-kicker-weight) !important;
  letter-spacing: var(--thvd-hero-kicker-tracking) !important;
  line-height: var(--thvd-hero-kicker-leading) !important;
  margin: 0 0 var(--thvd-hero-kicker-gap) !important;
  text-transform: uppercase;
}

html body.thvd-ferry-content :is(.thvd-headline, .thvd-hero-title) {
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: clamp(27px, 2.5vw, 36px) !important;
  font-weight: var(--thvd-hero-title-weight) !important;
  hyphens: none;
  letter-spacing: 0 !important;
  line-height: var(--thvd-hero-title-leading) !important;
  margin: 0 0 var(--thvd-hero-title-gap) !important;
  max-width: 980px;
  overflow-wrap: break-word;
  text-transform: none !important;
  text-wrap: balance;
  word-break: normal;
}

html body.thvd-ferry-content :is(.thvd-intro, .thvd-hero-lead) {
  color: rgba(255, 255, 255, .88) !important;
  font-size: var(--thvd-hero-copy-size) !important;
  line-height: var(--thvd-hero-copy-leading) !important;
  margin: 0 0 var(--thvd-hero-copy-gap) !important;
  max-width: 900px;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) > :is(p, ul, ol, h2, h3) {
  max-width: 1080px;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) p:not(.thvd-eyebrow):not(.thvd-intro):not(.thvd-hero-lead),
html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) li {
  color: var(--thvd-muted) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.75 !important;
  overflow-wrap: break-word;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) h2 {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-size: clamp(23px, 2.2vw, 30px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.28 !important;
  margin: 34px 0 12px !important;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) h3,
html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) strong {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  margin: 24px 0 8px !important;
}

html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) a:not(.thvd-cta) {
  color: var(--thvd-gold-ink) !important;
}

html body.thvd-ferry-content .thvd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

html body.thvd-ferry-content .thvd-cta {
  align-items: center;
  background: var(--thvd-gold) !important;
  border: 1px solid var(--thvd-gold) !important;
  border-radius: var(--thvd-hero-cta-radius);
  color: var(--thvd-navy-950) !important;
  display: inline-flex;
  font-size: var(--thvd-hero-cta-font-size) !important;
  font-weight: 700 !important;
  justify-content: center;
  letter-spacing: .06em !important;
  line-height: 1.2 !important;
  min-height: var(--thvd-hero-cta-height);
  min-width: var(--thvd-hero-cta-min-width);
  padding: 0 var(--thvd-hero-cta-padding-inline);
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

html body.thvd-ferry-content .thvd-cta.thvd-ghost {
  background: rgba(0, 31, 54, .30) !important;
  color: var(--thvd-gold-soft) !important;
}

html body.thvd-ferry-content .thvd-cta:hover,
html body.thvd-ferry-content .thvd-cta:focus-visible {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft) !important;
  color: var(--thvd-navy-950) !important;
  outline: 2px solid var(--thvd-ink);
  outline-offset: 3px;
}

html body.thvd-ferry-content :is(.thvd-note, .thvd-cta-box, .thvd-panel, .thvd-step, .thvd-related li, .thvd-links li) {
  background: var(--thvd-surface-soft) !important;
  border-color: var(--thvd-border) !important;
  color: var(--thvd-muted) !important;
}

html body.thvd-ferry-content :is(.thvd-note, .thvd-cta-box) {
  border: 1px solid var(--thvd-border);
  border-left: 4px solid var(--thvd-gold);
  border-radius: 10px;
  margin: 22px 0;
  padding: 16px 18px;
}

html body.thvd-ferry-content :is(.thvd-note, .thvd-cta-box) p {
  margin: 0 0 10px !important;
}

html body.thvd-ferry-content :is(.thvd-note, .thvd-cta-box) p:last-child {
  margin-bottom: 0 !important;
}

html body.thvd-ferry-content .thvd-cta-box strong {
  color: var(--thvd-gold-ink) !important;
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

html body.thvd-ferry-content .thvd-cta-box .thvd-cta {
  margin-top: 8px;
}

html body.thvd-ferry-content :is(.thvd-grid, .thvd-steps) {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

html body.thvd-ferry-content .thvd-steps {
  counter-reset: thvd-ferry-step;
}

html body.thvd-ferry-content :is(.thvd-panel, .thvd-step) {
  border: 1px solid var(--thvd-border);
  border-radius: 10px;
  min-height: 100%;
  padding: 16px;
}

html body.thvd-ferry-content .thvd-panel h3 {
  margin-top: 0 !important;
}

html body.thvd-ferry-content .thvd-step::before {
  align-items: center;
  border: 1px solid var(--thvd-gold);
  color: var(--thvd-gold-ink);
  content: counter(thvd-ferry-step);
  counter-increment: thvd-ferry-step;
  display: inline-flex;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  margin-bottom: 10px;
  width: 30px;
}

html body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table) {
  background: var(--thvd-surface) !important;
  border-collapse: collapse;
  color: var(--thvd-muted) !important;
  font-size: 15px;
  margin: 22px 0;
  width: 100%;
}

html body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table) th,
html body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table) td {
  border: 1px solid var(--thvd-border) !important;
  color: var(--thvd-muted) !important;
  line-height: 1.55;
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
}

html body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table) th {
  background: var(--thvd-surface-soft) !important;
  color: var(--thvd-ink) !important;
  font-weight: 600;
}

html body.thvd-ferry-content .thvd-figure {
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 10px;
  margin: 26px 0;
  overflow: hidden;
}

html body.thvd-ferry-content .thvd-figure img {
  display: block;
  filter: none !important;
  height: auto !important;
  max-width: 100%;
  opacity: 1 !important;
  transform: none !important;
  width: 100%;
}

html body.thvd-ferry-content .thvd-figure figcaption {
  color: var(--thvd-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  padding: 10px 12px;
}

html body.thvd-ferry-content .thvd-image-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0;
}

html body.thvd-ferry-content .thvd-image-strip .thvd-figure {
  margin: 0;
}

html body.thvd-ferry-content .thvd-faq h3 {
  color: var(--thvd-gold-ink) !important;
}

html body.thvd-ferry-content :is(.thvd-related, .thvd-links) {
  border-bottom: 1px solid var(--thvd-border);
  border-top: 1px solid var(--thvd-border);
  margin: 32px 0;
  padding: 20px 0;
}

html body.thvd-ferry-content :is(.thvd-related, .thvd-links) ul {
  display: grid;
  gap: 12px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

html body.thvd-ferry-content :is(.thvd-related, .thvd-links) li {
  border: 1px solid var(--thvd-border);
  border-radius: 8px;
  padding: 12px 14px;
}

html body.thvd-ferry-content .thvd-qr-block {
  align-items: center;
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 10px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 150px;
  margin: 30px 0;
  padding: 18px;
}

html body.thvd-ferry-content .thvd-qr-block img {
  background: #ffffff;
  height: 150px;
  object-fit: contain;
  width: 150px;
}

@media (max-width: 1023px) {
  html body.category-tin-tuc .thvd-news__hero {
    aspect-ratio: var(--thvd-hero-aspect-ratio);
  }

  html body.category-tin-tuc .thvd-news__hero-image {
    object-fit: cover;
    object-position: center;
  }

  html body.category-tin-tuc .thvd-news__hero-inner {
    height: 100%;
    min-height: 0;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card {
    flex-direction: column !important;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card__media,
  html body.post-type-archive-bat-dong-san .thvd-bds-card__content {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  html body.category-tin-tuc .thvd-news-hero-shell {
    --thvd-header-height: 64px;
  }

  html body.category-tin-tuc .thvd-news__hero-inner {
    height: 100%;
    min-height: 0;
  }

  html body.category-tin-tuc main.thvd-news-archive {
    padding: 14px var(--thvd-shell-gutter) 44px;
  }

  html body.category-tin-tuc .thvd-news-featured-grid {
    gap: 14px !important;
  }

  html body.category-tin-tuc .thvd-news-featured-grid > [data-thvd-card-anim] {
    min-height: 380px;
  }

  html body.category-tin-tuc .thvd-news-featured-grid > [data-thvd-card-anim] > a > div:last-child {
    padding: 22px !important;
  }

  html body.category-tin-tuc .thvd-news-featured-list {
    display: grid;
    gap: 12px;
  }

  html body.category-tin-tuc .thvd-news-featured-list > a {
    gap: 12px;
    padding: 10px;
  }

  html body.category-tin-tuc .thvd-news-featured-list > a > div:first-child {
    flex-basis: 92px !important;
    height: 92px !important;
    width: 92px !important;
  }

  html body.category-tin-tuc .thvd-news-featured-list h3 {
    font-size: 15px !important;
  }

  html body.category-tin-tuc .thvd-news-regular-grid {
    gap: 14px !important;
  }

  html body.single-post main.flex-grow,
  html body.single-bat-dong-san main.flex-grow,
  html body.thvd-ferry-content #primary.site-main {
    --thvd-header-height: 64px;
    padding-left: var(--thvd-shell-gutter) !important;
    padding-right: var(--thvd-shell-gutter) !important;
  }

  html body.post-type-archive-bat-dong-san main.thvd-bds-archive {
    padding: 14px var(--thvd-shell-gutter) 44px;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card {
    border-radius: 14px;
    gap: 16px !important;
    padding: 10px;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card__content {
    padding: 8px 4px 4px;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card__facts {
    gap: 14px !important;
    grid-template-columns: 1fr !important;
    margin-bottom: 22px !important;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card__footer {
    align-items: stretch !important;
    flex-direction: column !important;
    padding-top: 18px !important;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card__actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    width: 100%;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-card__cta,
  html body.post-type-archive-bat-dong-san .thvd-bds-contact-link--archive {
    width: 100%;
  }

  html body.single-bat-dong-san [data-product-detail] .thvd-bds-detail__title {
    font-size: clamp(18px, 4.8vw, 22px) !important;
  }

  html body.post-type-archive-bat-dong-san .thvd-bds-archive__legal {
    border-radius: 14px;
    margin-top: 30px !important;
    padding: 24px 18px !important;
  }

  html body.thvd-ferry-content #primary article > header h1 {
    font-size: clamp(24px, 6.35vw, 29px) !important;
    line-height: 1.2 !important;
  }

  html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) {
    padding-bottom: 34px;
  }

  html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) {
    aspect-ratio: var(--thvd-hero-aspect-ratio);
    border-radius: var(--thvd-hero-radius);
    min-height: 0;
  }

  html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) > img {
    object-fit: cover;
    object-position: center center;
  }

  html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) .inner {
    padding: 18px 16px;
  }

  html body.thvd-ferry-content :is(.thvd-headline, .thvd-hero-title) {
    font-size: clamp(22px, 6vw, 27px) !important;
    line-height: 1.18 !important;
  }

  html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) p:not(.thvd-eyebrow):not(.thvd-intro):not(.thvd-hero-lead),
  html body.thvd-ferry-content :is(.thvd-ferry-hub, .thvd-ferry-page) li {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  html body.thvd-ferry-content .thvd-cta-row {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body.thvd-ferry-content .thvd-cta {
    min-width: 0;
    padding-inline: 12px;
    width: 100%;
  }

  html body.thvd-ferry-content :is(.thvd-grid, .thvd-steps, .thvd-image-strip),
  html body.thvd-ferry-content :is(.thvd-related, .thvd-links) ul {
    grid-template-columns: 1fr;
  }

  html body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table) {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  html body.thvd-ferry-content .thvd-qr-block {
    grid-template-columns: 1fr;
  }

  html body.thvd-ferry-content .thvd-qr-block img {
    height: 132px;
    width: 132px;
  }
}

/* About page: editor-owned content with one responsive visual system. */
html body.thvd-about-content {
  background-color: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html body.thvd-about-content main.thvd-about-main {
  background: transparent !important;
  color: var(--thvd-ink) !important;
  display: block !important;
  padding: calc(var(--thvd-header-height) + var(--thvd-hero-margin-top)) var(--thvd-shell-gutter) 52px !important;
}

html body.thvd-about-content .thvd-about-shell {
  margin: 0 auto;
  max-width: var(--thvd-container);
  min-width: 0;
  width: 100%;
}

html body.thvd-about-content :is(.thvd-about-article, .thvd-about-editor-content, .thvd-about-v2),
html body.thvd-about-content .thvd-about-v2 * {
  box-sizing: border-box;
  min-width: 0;
}

html body.thvd-about-content .thvd-about-v2 {
  color: var(--thvd-muted) !important;
  display: grid !important;
  font-family: inherit !important;
  gap: clamp(24px, 3vw, 42px) !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  transform: none !important;
  width: 100% !important;
}

html body.thvd-about-content .thvd-about-v2 :is(h1, h2, h3, p, figure) {
  font-family: inherit !important;
  letter-spacing: 0 !important;
}

html body.thvd-about-content .thvd-about-v2 :is(p, .thvd-about-lead) {
  color: var(--thvd-muted) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.72 !important;
}

html body.thvd-about-content .thvd-about-eyebrow {
  color: var(--thvd-gold-ink) !important;
  font-size: var(--thvd-hero-kicker-size) !important;
  font-weight: var(--thvd-hero-kicker-weight) !important;
  letter-spacing: var(--thvd-hero-kicker-tracking) !important;
  line-height: var(--thvd-hero-kicker-leading) !important;
  margin: 0 0 var(--thvd-hero-kicker-gap) !important;
  text-transform: uppercase;
}

html body.thvd-about-content .thvd-about-title {
  color: var(--thvd-ink) !important;
  font-size: clamp(31px, 3.4vw, 48px) !important;
  font-weight: var(--thvd-hero-title-weight) !important;
  line-height: 1.12 !important;
  margin: 0 0 18px !important;
  max-width: 680px;
  overflow-wrap: break-word;
  text-wrap: balance;
  word-break: normal;
}

html body.thvd-about-content .thvd-about-section-title {
  color: var(--thvd-ink) !important;
  font-size: clamp(25px, 2.45vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
  margin: 0 0 18px !important;
  max-width: 900px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

html body.thvd-about-content .thvd-about-hero {
  align-items: center;
  background:
    linear-gradient(120deg, var(--thvd-surface) 0%, var(--thvd-surface) 44%, var(--thvd-surface-soft) 100%);
  border: 1px solid var(--thvd-hero-border);
  border-radius: var(--thvd-hero-radius);
  box-shadow: var(--thvd-hero-shadow);
  display: grid !important;
  gap: clamp(24px, 3.6vw, 52px);
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  overflow: hidden;
  padding: clamp(24px, 3.3vw, 46px);
  position: relative;
}

html body.thvd-about-content .thvd-about-hero::before {
  background: radial-gradient(circle, rgba(217, 169, 29, .14), transparent 67%);
  content: "";
  height: 320px;
  left: -170px;
  pointer-events: none;
  position: absolute;
  top: -180px;
  width: 320px;
}

html body.thvd-about-content .thvd-about-hero-copy {
  align-content: center;
  display: grid;
  position: relative;
  z-index: 1;
}

html body.thvd-about-content .thvd-about-lead {
  margin: 0 0 24px !important;
  max-width: 66ch;
}

html body.thvd-about-content .thvd-about-proof {
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4px;
}

html body.thvd-about-content .thvd-about-proof > span {
  align-items: center;
  background: var(--thvd-surface);
  border: 1px solid var(--thvd-border);
  border-radius: 12px;
  color: var(--thvd-ink);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  line-height: 1.4;
  min-height: 48px;
  padding: 10px 12px;
}

html body.thvd-about-content .thvd-about-proof > span::before {
  background: var(--thvd-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(217, 169, 29, .11);
  content: "";
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

html body.thvd-about-content .thvd-about-proof > span > .thvd-dot {
  display: none !important;
}

html body.thvd-about-content :is(.thvd-about-hero-media, .thvd-about-visual) {
  border: 1px solid var(--thvd-border);
  border-radius: 18px;
  height: auto;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

html body.thvd-about-content .thvd-about-hero-media {
  min-height: 0;
}

html body.thvd-about-content :is(.thvd-about-hero-media, .thvd-about-visual) figure {
  height: auto;
  margin: 0 !important;
  width: 100%;
}

html body.thvd-about-content :is(.thvd-about-hero-media, .thvd-about-visual) img {
  display: block;
  filter: none !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  object-position: center;
  opacity: 1 !important;
  transform: none !important;
  width: 100% !important;
}

html body.thvd-about-content :is(.thvd-about-hero-media, .thvd-about-visual).is-cover,
html body.thvd-about-content :is(.thvd-about-hero-media, .thvd-about-visual).is-cover figure {
  height: 100%;
}

html body.thvd-about-content :is(.thvd-about-hero-media, .thvd-about-visual).is-cover img {
  height: 100% !important;
  object-fit: cover;
}

html body.thvd-about-content :is(.thvd-about-hero-media, .thvd-about-visual).is-cover {
  align-self: stretch;
}

html body.thvd-about-content .thvd-about-band {
  background: var(--thvd-surface);
  border: 1px solid var(--thvd-border);
  border-radius: 20px;
  box-shadow: var(--thvd-shadow);
  color: var(--thvd-muted);
  padding: clamp(24px, 3.2vw, 44px);
}

html body.thvd-about-content .thvd-about-story,
html body.thvd-about-content .thvd-about-standard {
  align-items: center;
  display: grid !important;
  gap: clamp(28px, 4vw, 58px);
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
}

html body.thvd-about-content .thvd-about-standard {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
}

html body.thvd-about-content .thvd-about-copy > p {
  margin: 0 0 14px !important;
  max-width: 72ch;
}

html body.thvd-about-content .thvd-about-copy > p:last-of-type {
  margin-bottom: 0 !important;
}

html body.thvd-about-content .thvd-about-stat-row {
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

html body.thvd-about-content .thvd-about-stat {
  background: var(--thvd-surface-soft);
  border: 1px solid var(--thvd-border);
  border-top: 3px solid var(--thvd-gold);
  border-radius: 10px;
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 16px;
}

html body.thvd-about-content .thvd-about-stat b {
  color: var(--thvd-ink);
  font-size: 18px;
  font-weight: 650;
}

html body.thvd-about-content .thvd-about-stat span {
  color: var(--thvd-muted);
  font-size: 13px;
  line-height: 1.55;
}

html body.thvd-about-content .thvd-about-two,
html body.thvd-about-content .thvd-commit-grid {
  display: grid !important;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html body.thvd-about-content :is(.thvd-about-panel, .thvd-value, .thvd-commit) {
  background: linear-gradient(180deg, var(--thvd-surface-soft), var(--thvd-surface));
  border: 1px solid var(--thvd-border);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(0, 43, 73, .05);
  color: var(--thvd-muted);
  min-height: 100%;
  padding: 22px;
}

html body.thvd-about-content :is(.thvd-about-panel, .thvd-value, .thvd-commit) h3 {
  color: var(--thvd-ink) !important;
  font-size: 18px !important;
  font-weight: 650 !important;
  line-height: 1.38 !important;
  margin: 0 0 9px !important;
  text-wrap: balance;
}

html body.thvd-about-content :is(.thvd-about-panel, .thvd-value, .thvd-commit) p {
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

html body.thvd-about-content .thvd-values {
  display: grid !important;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.thvd-about-content .thvd-value {
  padding: 20px !important;
}

html body.thvd-about-content .thvd-icon {
  align-items: center;
  background: var(--thvd-navy-950) !important;
  border: 1px solid rgba(239, 200, 77, .45) !important;
  border-radius: 50%;
  color: var(--thvd-gold-soft) !important;
  display: inline-flex !important;
  height: 42px !important;
  justify-content: center;
  margin: 0 0 14px !important;
  width: 42px !important;
}

html body.thvd-about-content .thvd-icon svg {
  fill: none !important;
  height: 21px !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 1.8 !important;
  width: 21px !important;
}

html body.thvd-about-content .thvd-icon svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: inherit !important;
}

html body.thvd-about-content .thvd-step-list {
  display: grid !important;
  gap: 11px;
  margin-top: 24px;
}

html body.thvd-about-content .thvd-step {
  align-items: start;
  background: var(--thvd-surface-soft);
  border: 1px solid var(--thvd-border);
  border-radius: 13px;
  display: grid !important;
  gap: 13px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 14px;
}

html body.thvd-about-content .thvd-step > b {
  align-items: center;
  background: var(--thvd-navy-950);
  border-radius: 50%;
  color: var(--thvd-gold-soft);
  display: flex;
  font-size: 14px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

html body.thvd-about-content .thvd-step > div {
  color: var(--thvd-muted);
  font-size: 13px;
  line-height: 1.55;
}

html body.thvd-about-content .thvd-step > div :is(b, strong, span:first-child) {
  color: var(--thvd-ink);
  display: block;
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 3px;
}

html body.thvd-about-content .thvd-about-note {
  background: var(--thvd-surface-soft);
  border: 1px solid var(--thvd-border);
  border-left: 4px solid var(--thvd-gold);
  border-radius: 12px;
  color: var(--thvd-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 18px;
  padding: 15px 17px;
}

html body.thvd-about-content .thvd-about-cta {
  align-items: center;
  background:
    radial-gradient(circle at 84% 20%, rgba(239, 200, 77, .16), transparent 34%),
    linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-deep));
  border: 1px solid rgba(239, 200, 77, .35);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(3, 4, 15, .24);
  color: #ffffff;
  display: flex !important;
  gap: 24px;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  position: relative;
}

html body.thvd-about-content .thvd-about-cta h2 {
  color: #ffffff !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
  margin: 0 0 9px !important;
  max-width: 720px;
  text-wrap: balance;
}

html body.thvd-about-content .thvd-about-cta p {
  color: rgba(255, 255, 255, .74) !important;
  margin: 0 !important;
  max-width: 72ch;
}

html body.thvd-about-content .thvd-about-actions {
  display: flex !important;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

html body.thvd-about-content .thvd-about-btn {
  align-items: center;
  background: var(--thvd-gold);
  border: 1px solid var(--thvd-gold);
  border-radius: var(--thvd-hero-cta-radius);
  color: var(--color-bg-deep) !important;
  display: inline-flex !important;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  min-height: var(--thvd-hero-cta-height);
  padding: 0 18px;
  text-align: center;
  text-decoration: none !important;
}

html body.thvd-about-content .thvd-about-btn.secondary {
  background: transparent;
  color: var(--thvd-gold-soft) !important;
}

html body.thvd-about-content .thvd-about-btn:hover,
html body.thvd-about-content .thvd-about-btn:focus-visible {
  background: var(--thvd-gold-soft);
  border-color: var(--thvd-gold-soft);
  box-shadow: var(--thvd-focus-ring);
  color: var(--color-bg-deep) !important;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

html[data-thvd-theme="dark"] body.thvd-about-content :is(.thvd-about-panel, .thvd-value, .thvd-commit),
html[data-thvd-theme="dark"] body.thvd-about-content .thvd-about-hero {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

html[data-thvd-theme="dark"] body.thvd-about-content .thvd-about-proof > span {
  background: var(--thvd-surface-soft);
}

html body.thvd-about-content .thvd-about-legacy-header h1 {
  color: var(--thvd-ink);
  font-size: var(--thvd-display-title-size);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 24px;
  text-wrap: balance;
}

html body.thvd-about-content .thvd-about-legacy-content,
html body.thvd-about-content .thvd-about-legacy-fields {
  color: var(--thvd-muted);
  font-size: 16px;
  line-height: 1.72;
}

html body.thvd-about-content .thvd-about-legacy-fields {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

html body.thvd-about-content .thvd-about-legacy-fields img {
  border-radius: 16px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 1023px) {
  html body.thvd-about-content .thvd-about-hero,
  html body.thvd-about-content :is(.thvd-about-story, .thvd-about-standard) {
    grid-template-columns: 1fr;
  }

  html body.thvd-about-content .thvd-values {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.thvd-about-content .thvd-about-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  html body.thvd-about-content .thvd-about-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  html body.thvd-about-content main.thvd-about-main {
    --thvd-header-height: 80px;
    padding:
      calc(var(--thvd-header-height) + 14px)
      var(--thvd-shell-gutter)
      calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body.thvd-about-content .thvd-about-v2 {
    gap: 14px !important;
  }

  html body.thvd-about-content :is(.thvd-about-hero, .thvd-about-band, .thvd-about-cta) {
    border-radius: 14px;
    padding: 15px;
  }

  html body.thvd-about-content .thvd-about-title {
    font-size: clamp(25px, 7.4vw, 31px) !important;
    line-height: 1.15 !important;
  }

  html body.thvd-about-content .thvd-about-section-title {
    font-size: clamp(21px, 6vw, 25px) !important;
    line-height: 1.24 !important;
  }

  html body.thvd-about-content .thvd-about-v2 :is(p, .thvd-about-lead) {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  html body.thvd-about-content .thvd-about-hero-media,
  html body.thvd-about-content :is(.thvd-about-story, .thvd-about-standard) .thvd-about-visual {
    border-radius: 12px;
    height: auto;
    min-height: 0;
  }

  html body.thvd-about-content .thvd-about-two,
  html body.thvd-about-content .thvd-about-stat-row,
  html body.thvd-about-content .thvd-commit-grid,
  html body.thvd-about-content .thvd-about-legacy-fields {
    grid-template-columns: 1fr !important;
  }

  html body.thvd-about-content :is(.thvd-about-proof, .thvd-values) {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.thvd-about-content .thvd-about-proof > span {
    font-size: 12px;
    min-height: 44px;
    padding: 8px 9px;
  }

  html body.thvd-about-content .thvd-about-stat {
    min-height: 0;
  }

  html body.thvd-about-content :is(.thvd-about-panel, .thvd-value, .thvd-commit) {
    padding: 14px !important;
  }

  html body.thvd-about-content .thvd-about-panel {
    padding: 17px !important;
  }

  html body.thvd-about-content .thvd-commit {
    padding: 18px !important;
  }

  html body.thvd-about-content .thvd-value {
    border-radius: 12px;
  }

  html body.thvd-about-content .thvd-value .thvd-icon {
    height: 36px !important;
    margin-bottom: 10px !important;
    width: 36px !important;
  }

  html body.thvd-about-content .thvd-value .thvd-icon svg {
    height: 18px !important;
    width: 18px !important;
  }

  html body.thvd-about-content .thvd-value h3 {
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  html body.thvd-about-content .thvd-value p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  html body.thvd-about-content .thvd-step {
    gap: 11px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }

  html body.thvd-about-content .thvd-step > b {
    height: 34px;
    width: 34px;
  }

  html body.thvd-about-content .thvd-about-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
  }

  html body.thvd-about-content .thvd-about-btn {
    width: 100%;
  }

  html body.thvd-about-content .thvd-floating-social.thvd-floating-social--enhanced {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    flex-direction: row !important;
    gap: 6px !important;
    right: 10px !important;
  }

  html body.thvd-about-content .thvd-contact-greeting {
    display: none !important;
  }
}

@media (max-width: 359px) {
  html body.thvd-about-content :is(.thvd-about-proof, .thvd-values) {
    grid-template-columns: 1fr !important;
  }
}

/* Shared compact footer */
html body.thvd-system .thvd-home-footer-logo {
  display: none !important;
}

html body.thvd-system footer.thvd-system-footer,
html body.thvd-system footer.thvd-system-footer.relative {
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: var(--thvd-shell-gutter) !important;
}

html body.thvd-system footer.thvd-system-footer > .max-w-7xl {
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--thvd-shadow) !important;
  margin: 0 auto !important;
  max-width: var(--thvd-shell-max) !important;
  padding: 26px 30px 18px !important;
  width: 100% !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__grid {
  align-items: start !important;
  display: grid !important;
  gap: 46px !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr) !important;
  margin: 0 0 18px !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__contact,
html body.thvd-system footer.thvd-system-footer .thvd-footer__policies,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:first-child,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child {
  display: grid !important;
  gap: 14px !important;
  margin: 0 !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__policies,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child {
  align-self: start !important;
  padding-top: 72px !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__contact > :not([hidden]) ~ :not([hidden]),
html body.thvd-system footer.thvd-system-footer .thvd-footer__policies > :not([hidden]) ~ :not([hidden]),
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:first-child > :not([hidden]) ~ :not([hidden]),
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0 !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__logo,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:first-child > img:first-child {
  display: block !important;
  height: auto !important;
  margin: 0 0 2px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  object-position: left center !important;
  width: min(260px, 100%) !important;
}

html body.thvd-system footer.thvd-system-footer h2,
html body.thvd-system footer.thvd-system-footer h4,
html body.thvd-system footer.thvd-system-footer .thvd-footer__title {
  color: var(--thvd-ink) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

/* Explicit catalog contrast prevents legacy utility colors leaking into light mode. */
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-shop-sidebar,
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-shop-sidebar > div,
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-search-filter,
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-price-filter {
  background-color: var(--thvd-surface) !important;
  border-color: var(--thvd-border) !important;
  color: var(--thvd-ink) !important;
}

html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-shop-sidebar label,
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-shop-sidebar p,
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-shop-sidebar span,
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-price-filter div {
  color: var(--thvd-muted) !important;
  opacity: 1 !important;
}

html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-catalog-search input[type="search"],
html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-catalog-sort select {
  background-color: var(--thvd-surface-soft) !important;
  border-color: var(--thvd-border) !important;
  color: var(--thvd-ink) !important;
}

html[data-thvd-theme] body.thvd-system.thvd-catalog .thvd-catalog-search input[type="search"]::placeholder {
  color: var(--thvd-muted) !important;
  opacity: 1 !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__contact > ul,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:first-child > ul {
  display: grid !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__contact > ul > li,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:first-child > ul > li {
  align-items: center !important;
  color: var(--thvd-muted) !important;
  display: flex !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  gap: 12px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  min-height: 32px !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__contact > ul > li > span:first-child:has(svg) {
  align-items: center !important;
  border-color: var(--thvd-border) !important;
  display: inline-flex !important;
  flex: 0 0 30px !important;
  height: 30px !important;
  justify-content: center !important;
  width: 30px !important;
}

html body.thvd-system footer.thvd-system-footer a,
html body.thvd-system footer.thvd-system-footer span,
html body.thvd-system footer.thvd-system-footer p {
  color: inherit !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__policies nav,
html body.thvd-system footer.thvd-system-footer .thvd-footer__policies ul,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child nav,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child ul {
  margin: 0 !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__policies ul,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child ul {
  display: grid !important;
  gap: 10px 22px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  list-style: none !important;
  padding: 0 !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__policies li,
html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child li {
  border-bottom: 1px solid var(--thvd-border) !important;
  color: var(--thvd-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 0 9px !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__policies a:hover,
html body.thvd-system footer.thvd-system-footer .thvd-footer__policies a:focus-visible {
  color: var(--thvd-gold) !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__bottom {
  align-items: center !important;
  border-color: var(--thvd-border) !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin: 0 !important;
  padding: 16px 0 0 !important;
}

html body.thvd-system footer.thvd-system-footer .thvd-footer__bottom p {
  color: var(--thvd-muted) !important;
  font-size: 11px !important;
  margin: 0 !important;
}

/* Conservative rhythm for informational pages; transaction screens are excluded. */
html body.thvd-content-page main > section,
html body.thvd-content-page main > article {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--thvd-container) !important;
}

html body.thvd-content-page main h1 {
  font-size: clamp(29px, 3vw, 38px) !important;
  line-height: 1.2 !important;
}

html body.thvd-content-page main h2 {
  font-size: clamp(23px, 2.25vw, 31px) !important;
  line-height: 1.25 !important;
}

/* Dark mode aliases stay scoped to custom UI and do not restyle checkout. */
html[data-thvd-theme="dark"] body.thvd-system {
  background-color: var(--thvd-page) !important;
  background-image: var(--thvd-dark-page-background) !important;
  background-size: var(--thvd-dark-page-background-size) !important;
}

html[data-thvd-theme="dark"] body.thvd-catalog .thvd-catalog__usp,
html[data-thvd-theme="dark"] body.thvd-system :is(.thvd-product-card__variation-selector, .thvd-contact-greeting),
html[data-thvd-theme="dark"] body.thvd-system footer.thvd-system-footer > .max-w-7xl {
  background-color: var(--thvd-surface) !important;
  border-color: var(--thvd-border) !important;
  color: var(--thvd-ink) !important;
}

html[data-thvd-theme="dark"] body.thvd-catalog :is(.thvd-shop-sidebar input[type="search"], .woocommerce-ordering select, .thvd-catalog-toolbar select),
html[data-thvd-theme="dark"] body.thvd-system .thvd-product-card__variation-option {
  background-color: var(--thvd-surface-soft) !important;
  border-color: var(--thvd-border) !important;
  color: var(--thvd-ink) !important;
}

html[data-thvd-theme="dark"] body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table),
html[data-thvd-theme="dark"] body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table) th,
html[data-thvd-theme="dark"] body.thvd-ferry-content :is(.thvd-route-table, .thvd-info-table) td {
  border-color: var(--thvd-border) !important;
}

html body.thvd-system #site-navigation :is(a, button, input):focus-visible,
html body.thvd-home main :is(a, button, input, select):focus-visible,
html body.thvd-catalog main :is(a, button, input, select):focus-visible,
html body.thvd-ferry-content main :is(a, button, input, select):focus-visible,
html body.thvd-about-content main :is(a, button, input, select):focus-visible,
html body.category-tin-tuc main :is(a, button, input, select):focus-visible,
html body.post-type-archive-bat-dong-san main :is(a, button, input, select):focus-visible {
  box-shadow: var(--thvd-focus-ring) !important;
  outline: 2px solid var(--thvd-gold-soft) !important;
  outline-offset: 3px !important;
}

@media (max-width: 1439px) {
  html body.thvd-catalog #thvd-products-loop {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  :root {
    /* Tablet banners are intentionally about 60% of the former 16:7 height. */
    --thvd-hero-aspect-ratio: 19 / 5;
    --thvd-hero-shell-inline-space: 48px;
    --thvd-hero-margin-top: 24px;
    --thvd-hero-content-padding-inline: 32px;
  }

  html body.thvd-catalog .thvd-catalog__hero-inner,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-inner,
  html body.category-tin-tuc .thvd-news__hero-inner {
    padding: 12px 24px !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-kicker,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-kicker,
  html body.category-tin-tuc .thvd-news__hero-kicker {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-title,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-title,
  html body.category-tin-tuc .thvd-news__hero-title {
    font-size: clamp(22px, 3.4vw, 28px) !important;
    line-height: 1.14 !important;
    margin-bottom: 5px !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-description,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-description,
  html body.category-tin-tuc .thvd-news__hero-description {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 7px !important;
    overflow: hidden !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-cta {
    font-size: 10px !important;
    min-height: 34px !important;
    min-width: 130px !important;
    padding-inline: 14px !important;
  }

  html body.thvd-home .thvd-home-usp > *,
  html body.thvd-home .thvd-home-usp__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.thvd-catalog .thvd-shop-layout {
    gap: 16px !important;
    grid-template-columns: 210px minmax(0, 1fr) !important;
  }

  html body.thvd-catalog .thvd-catalog__usp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 620px !important;
  }

  html body.thvd-catalog #thvd-products-loop {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.thvd-system footer.thvd-system-footer .thvd-footer__grid {
    gap: 28px !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr) !important;
  }
}

@media (max-width: 1023px) {
  html body.post-type-archive-bat-dong-san .thvd-discover__hero {
    aspect-ratio: var(--thvd-hero-aspect-ratio);
    height: auto;
    max-height: none;
  }

  html body.post-type-archive-bat-dong-san .thvd-discover__hero-image {
    object-fit: cover;
    object-position: center;
  }

  html body.post-type-archive-bat-dong-san .thvd-discover__hero-inner {
    height: 100%;
    min-height: 0;
  }

  /* Article heroes carry longer editable copy and CTAs than visual banners. */
  html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) {
    aspect-ratio: 3 / 1;
  }

  html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) .inner {
    padding: 12px 20px;
  }

  html body.thvd-ferry-content .thvd-eyebrow {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }

  html body.thvd-ferry-content :is(.thvd-headline, .thvd-hero-title) {
    font-size: clamp(22px, 3.4vw, 28px) !important;
    line-height: 1.14 !important;
    margin-bottom: 5px !important;
  }

  html body.thvd-ferry-content :is(.thvd-intro, .thvd-hero-lead) {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 7px !important;
    overflow: hidden;
  }

  html body.thvd-ferry-content .thvd-cta-row {
    gap: 8px;
    margin-top: 8px;
  }

  html body.thvd-ferry-content .thvd-cta {
    font-size: 10px !important;
    min-height: 34px;
    min-width: 130px;
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  html body.thvd-catalog main.flex-grow {
    padding: 20px 24px 36px !important;
  }

  html body.thvd-catalog .thvd-shop-layout {
    display: block !important;
  }

  html body.thvd-catalog .thvd-catalog-controls {
    margin-bottom: 16px !important;
  }

  html body.thvd-catalog .thvd-shop-sidebar {
    margin-bottom: 20px !important;
    position: static !important;
    top: auto !important;
  }

  html body.thvd-catalog #thvd-products-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  :root {
    --thvd-header-height: 64px;
    --thvd-shell-gutter: 16px;
    /* Mobile banners are about 60% of the former 6:5 height. */
    --thvd-hero-aspect-ratio: 2 / 1;
    --thvd-hero-shell-inline-space: 32px;
    --thvd-hero-margin-top: 18px;
    --thvd-hero-radius: 14px;
    --thvd-hero-content-padding-inline: 18px;
    --thvd-hero-content-padding-block: 18px;
    --thvd-hero-overlay: linear-gradient(90deg, rgba(251, 250, 247, .94) 0%, rgba(251, 250, 247, .78) 48%, rgba(251, 250, 247, .35) 76%, rgba(251, 250, 247, .08) 100%);
    --thvd-hero-overlay-clear: linear-gradient(90deg, rgba(251, 250, 247, .92) 0%, rgba(251, 250, 247, .76) 50%, rgba(251, 250, 247, .26) 80%, rgba(251, 250, 247, .04) 100%);
    --thvd-hero-title-size: clamp(21px, 6vw, 26px);
    --thvd-hero-title-leading: 1.18;
    --thvd-hero-title-gap: 8px;
    --thvd-hero-copy-size: 13px;
    --thvd-hero-copy-gap: 12px;
    --thvd-hero-cta-font-size: 10px;
    --thvd-hero-cta-min-width: 132px;
    --thvd-hero-cta-padding-inline: 16px;
  }

  html[data-thvd-theme="dark"] {
    --thvd-hero-overlay: linear-gradient(90deg, rgba(7, 10, 25, .92) 0%, rgba(7, 10, 25, .74) 50%, rgba(7, 10, 25, .32) 78%, rgba(7, 10, 25, .06) 100%);
    --thvd-hero-overlay-clear: linear-gradient(90deg, rgba(7, 10, 25, .90) 0%, rgba(7, 10, 25, .68) 52%, rgba(7, 10, 25, .24) 82%, rgba(7, 10, 25, .04) 100%);
  }

  html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) {
    aspect-ratio: 3 / 2;
  }

  html body.thvd-catalog .thvd-catalog__hero-inner,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-inner,
  html body.category-tin-tuc .thvd-news__hero-inner {
    padding: 8px 14px !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-kicker,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-kicker,
  html body.category-tin-tuc .thvd-news__hero-kicker {
    font-size: 8px !important;
    letter-spacing: .12em !important;
    margin-bottom: 3px !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-title,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-title,
  html body.category-tin-tuc .thvd-news__hero-title {
    font-size: clamp(18px, 5vw, 21px) !important;
    line-height: 1.12 !important;
    margin-bottom: 3px !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-description,
  html body.post-type-archive-bat-dong-san .thvd-discover__hero-description,
  html body.category-tin-tuc .thvd-news__hero-description {
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-cta {
    font-size: 9px !important;
    min-height: 30px !important;
    min-width: 112px !important;
    padding-inline: 12px !important;
  }

  html body.thvd-ferry-content :is(.thvd-main-hero, .thvd-ferry-hero) .inner {
    padding: 12px 14px;
  }

  html body.thvd-ferry-content .thvd-eyebrow {
    font-size: 9px !important;
    letter-spacing: .12em !important;
    margin-bottom: 3px !important;
  }

  html body.thvd-ferry-content :is(.thvd-headline, .thvd-hero-title) {
    font-size: clamp(18px, 5.5vw, 22px) !important;
    line-height: 1.14 !important;
    margin-bottom: 4px !important;
  }

  html body.thvd-ferry-content :is(.thvd-intro, .thvd-hero-lead) {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    overflow: hidden;
  }

  html body.thvd-ferry-content .thvd-cta-row {
    gap: 6px;
    margin-top: 6px;
  }

  html body.thvd-ferry-content .thvd-cta {
    font-size: 9px !important;
    min-height: 32px;
    padding-inline: 8px;
  }

  html body.thvd-system #site-navigation .thvd-theme-toggle-group {
    gap: 10px !important;
  }

  html body.thvd-system #site-navigation,
  html body.thvd-system #site-navigation > div {
    min-height: 64px !important;
  }

  html body.thvd-system #mobile-menu {
    max-width: min(85vw, 320px) !important;
    width: min(85vw, 320px) !important;
  }

  html body.thvd-system #site-navigation .thvd-theme-toggle {
    flex-basis: 36px !important;
    height: 36px !important;
    margin-right: 5px !important;
    width: 36px !important;
  }

  html body.thvd-system #site-navigation .thvd-theme-toggle img {
    height: 18px !important;
    width: 18px !important;
  }

  html body.thvd-home .thvd-home-usp {
    padding: 12px 16px 4px !important;
  }

  html body.thvd-home .thvd-home-usp > *,
  html body.thvd-home .thvd-home-usp__inner {
    gap: 9px !important;
  }

  html body.thvd-home .thvd-home-usp__item {
    gap: 9px !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    min-height: 88px !important;
    padding: 11px 10px !important;
  }

  html body.thvd-home .thvd-home-usp__icon {
    height: 34px !important;
    width: 34px !important;
  }

  html body.thvd-home .thvd-home-usp__icon img {
    height: 17px !important;
    width: 17px !important;
  }

  html body.thvd-home .thvd-home-usp__title {
    font-size: 13px !important;
  }

  html body.thvd-home .thvd-home-usp__text {
    font-size: 11px !important;
  }

  html body.thvd-home #products {
    padding: 22px 16px 24px !important;
  }

  html body.thvd-home #products > div > div:first-child {
    margin-bottom: 14px !important;
  }

  html body.thvd-system footer.thvd-system-footer .thvd-footer__policies,
  html body.thvd-system footer.thvd-system-footer .thvd-footer__grid > div:last-child {
    padding-top: 0 !important;
  }

  html body.thvd-home #products h2 {
    font-size: 22px !important;
  }

  html body.post-type-archive-bat-dong-san .thvd-discover-hero-shell {
    --thvd-header-height: 64px;
  }

  html body.post-type-archive-bat-dong-san .thvd-discover__hero-inner {
    height: 100%;
    min-height: 0;
  }

  html body.thvd-catalog .thvd-catalog__hero {
    aspect-ratio: var(--thvd-hero-aspect-ratio) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  html body.thvd-catalog .thvd-catalog__hero-inner {
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  html body.thvd-catalog .thvd-catalog__usp-grid {
    gap: 7px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 12px !important;
  }

  html body.thvd-catalog .thvd-catalog__usp {
    font-size: 12px !important;
    min-height: 44px !important;
    padding: 6px 8px !important;
  }

  html body.thvd-catalog .thvd-catalog__usp-icon {
    flex-basis: 25px !important;
    height: 25px !important;
    width: 25px !important;
  }

  html body.thvd-catalog .thvd-catalog__usp-icon img {
    height: 14px !important;
    width: 14px !important;
  }

  html body.thvd-catalog main.flex-grow {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 18px 16px 32px !important;
    width: 100% !important;
  }

  html body.thvd-catalog .thvd-shop-layout {
    display: block !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.thvd-catalog .thvd-catalog-controls {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 46%) !important;
    margin-bottom: 12px !important;
  }

  html body.thvd-catalog .thvd-shop-sidebar {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    position: static !important;
    width: 100% !important;
  }

  html body.thvd-catalog .thvd-catalog-search input[type="search"] {
    background: var(--thvd-surface) !important;
    height: 44px !important;
  }

  html body.thvd-catalog .thvd-price-filter {
    display: block !important;
    margin-bottom: 12px !important;
  }

  html body.thvd-catalog :is(.thvd-ec-tabs-wrap, .thvd-category-tabs) {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    width: 100% !important;
  }

  html body.thvd-catalog .thvd-ec-tabs-wrap,
  html body.thvd-catalog .thvd-shop-sidebar > .thvd-category-tabs {
    margin: 12px 0 18px !important;
  }

  html body.thvd-catalog .thvd-ec-tabs-wrap .thvd-category-tabs {
    margin: 0 !important;
  }

  html body.thvd-catalog .thvd-category-tabs ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overscroll-behavior-inline: contain;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 1px 7px !important;
    scroll-padding-inline: 1px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
  }

  html body.thvd-catalog .thvd-category-tabs ul::-webkit-scrollbar {
    display: none;
  }

  html body.thvd-catalog .thvd-category-tabs li {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    width: max-content !important;
  }

  html body.thvd-catalog .thvd-category-tabs a.thvd-filter-link {
    flex: 0 0 auto !important;
    width: max-content !important;
  }

  html body.thvd-catalog #thvd-products-loop {
    gap: 12px 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body.thvd-catalog #thvd-products-loop > .product,
  html body.thvd-catalog #thvd-products-loop .thvd-product-card {
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 6px !important;
    width: 100% !important;
  }

  html body.thvd-system .thvd-product-card__variation-selector,
  html body.thvd-system .thvd-product-card__variation-selector.is-below {
    border-radius: 12px;
    bottom: auto;
    left: 12px;
    max-height: none;
    max-width: calc(100vw - 24px);
    padding: 10px;
    position: fixed;
    right: auto;
    top: auto;
    transform: none;
    width: min(260px, calc(100vw - 24px));
    z-index: 1305;
  }

  html body.thvd-system .thvd-product-card__variation-close {
    min-height: 36px;
    min-width: 36px;
  }

  html body.thvd-system .thvd-product-card__variation-option {
    min-height: 42px;
    padding: 8px 9px;
  }

  html body.thvd-system .thvd-product-card__quick-status {
    bottom: 50px;
    left: 6px;
    max-width: calc(100% - 12px);
    right: auto;
  }

  html body.thvd-catalog #thvd-products-loop h2,
  html body.thvd-catalog #thvd-products-loop h3,
  html body.thvd-catalog #thvd-products-loop .thvd-product-title {
    font-size: 12px !important;
    min-height: 34px !important;
  }

  html body.thvd-system footer.thvd-system-footer,
  html body.thvd-system footer.thvd-system-footer.relative {
    padding: var(--thvd-shell-gutter) !important;
  }

  html body.thvd-system footer.thvd-system-footer > .max-w-7xl {
    border-radius: 12px !important;
    padding: 20px 18px 14px !important;
  }

  html body.thvd-system footer.thvd-system-footer .thvd-footer__grid {
    gap: 24px !important;
    grid-template-columns: 1fr !important;
    margin-bottom: 14px !important;
  }

  html body.thvd-system footer.thvd-system-footer h2,
  html body.thvd-system footer.thvd-system-footer h4 {
    font-size: 17px !important;
  }

  html body.thvd-system footer.thvd-system-footer .thvd-footer__policies ul {
    gap: 9px 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.thvd-system footer.thvd-system-footer .thvd-footer__policies li {
    font-size: 12px !important;
  }

  html body.thvd-system footer.thvd-system-footer .thvd-footer__bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 13px !important;
  }

  html body.thvd-system .thvd-floating-social.thvd-floating-social--enhanced {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 7px !important;
    right: 9px !important;
  }

  html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn {
    flex-basis: 44px !important;
    height: 44px !important;
    width: 44px !important;
  }

  html body.thvd-system .thvd-contact-greeting {
    max-width: calc(100vw - 78px) !important;
    padding: 15px 52px 15px 16px !important;
    right: calc(100% + 9px) !important;
    width: min(300px, calc(100vw - 78px)) !important;
  }

  html body.thvd-system .thvd-contact-greeting strong {
    font-size: clamp(13px, 3.6vw, 14px) !important;
    line-height: 1.35 !important;
  }

  html body.thvd-content-page main h1 {
    font-size: 28px !important;
  }

  html body.thvd-content-page main h2 {
    font-size: 23px !important;
  }
}

@media (max-width: 339px) {
  html body.thvd-catalog #thvd-products-loop {
    grid-template-columns: 1fr !important;
  }

  html body.thvd-ferry-content .thvd-cta-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.thvd-system *,
  html body.thvd-system *::before,
  html body.thvd-system *::after {
    scroll-behavior: auto !important;
  }

  html body.thvd-home .thvd-home-usp__item,
  html body.thvd-catalog .thvd-catalog__usp,
  html body.thvd-catalog .thvd-catalog__hero-cta,
  html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:first-of-type,
  html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn,
  html body.thvd-system .thvd-contact-greeting {
    animation: none !important;
    transition: none !important;
  }

  html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn svg {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  html body.thvd-catalog .thvd-catalog__usp:hover,
  html body.thvd-catalog .thvd-catalog__usp:focus-within,
  html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:hover,
  html body.thvd-system .thvd-floating-social--enhanced .thvd-floating-social__btn:focus-visible {
    transform: none !important;
  }
}

/* Checkout: one token-driven presentation layer over the legacy dark-only theme rules. */
html[data-thvd-theme] body.woocommerce-checkout {
  --thvd-checkout-bg: var(--thvd-page);
  --thvd-checkout-panel: var(--thvd-surface);
  --thvd-checkout-control: var(--thvd-surface);
  --thvd-checkout-control-soft: var(--thvd-surface-soft);
  --thvd-checkout-text: var(--thvd-ink);
  --thvd-checkout-muted: var(--thvd-muted);
  --thvd-checkout-border: var(--thvd-border);
  --thvd-checkout-accent: var(--thvd-gold);
  --thvd-checkout-accent-soft: rgba(217, 169, 29, .12);
  --thvd-checkout-error: #b42318;
  background-color: var(--thvd-checkout-bg) !important;
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme="dark"] body.woocommerce-checkout {
  --thvd-checkout-accent-soft: rgba(239, 200, 77, .13);
  --thvd-checkout-error: #ff8a80;
}

html[data-thvd-theme] body.woocommerce-checkout :is(main.site-main, article, article > .prose, form.checkout) {
  background-color: transparent !important;
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme] body.woocommerce-checkout :is(
  .woocommerce-billing-fields h2,
  .woocommerce-shipping-fields h2,
  .woocommerce-additional-fields h2,
  .woocommerce-checkout-review-order-table h2,
  .woocommerce-checkout h3,
  .order-total
) {
  color: var(--thvd-checkout-text) !important;
  font-family: "Be Vietnam Pro", "Inter", "Segoe UI", Arial, sans-serif !important;
}

html[data-thvd-theme] body.woocommerce-checkout article > .prose > div:first-child,
html[data-thvd-theme] body.woocommerce-checkout form.checkout [class*="text-white/"],
html[data-thvd-theme] body.woocommerce-checkout .woocommerce-privacy-policy-text p {
  color: var(--thvd-checkout-muted) !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout [class~="text-white"] {
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout .form-row > label,
html[data-thvd-theme] body.woocommerce-checkout form.checkout .woocommerce-form__label {
  color: var(--thvd-checkout-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(
  input.input-text,
  input[type="date"],
  select,
  textarea
),
html[data-thvd-theme] body.woocommerce-checkout .select2-container .select2-selection--single {
  background: var(--thvd-checkout-control) !important;
  border: 1px solid var(--thvd-checkout-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--thvd-checkout-text) !important;
  min-height: 48px !important;
  outline: none !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(input.input-text, input[type="date"], select) {
  padding: 10px 12px !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout textarea {
  min-height: 104px !important;
  padding: 12px !important;
  resize: vertical;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(
  input.input-text,
  input[type="date"],
  select,
  textarea
):focus,
html[data-thvd-theme] body.woocommerce-checkout .select2-container--focus .select2-selection--single,
html[data-thvd-theme] body.woocommerce-checkout .select2-container--open .select2-selection--single {
  border-color: var(--thvd-checkout-accent) !important;
  box-shadow: var(--thvd-focus-ring) !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(input, textarea)::placeholder {
  color: var(--thvd-checkout-muted) !important;
  opacity: .82 !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout select option,
html[data-thvd-theme] body.woocommerce-checkout .select2-dropdown,
html[data-thvd-theme] body.woocommerce-checkout .select2-results__option {
  background: var(--thvd-checkout-control) !important;
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme] body.woocommerce-checkout .select2-container .select2-selection--single {
  align-items: center !important;
  display: flex !important;
  padding: 0 42px 0 12px !important;
}

html[data-thvd-theme] body.woocommerce-checkout .select2-container .select2-selection__rendered {
  color: var(--thvd-checkout-text) !important;
  line-height: 1.4 !important;
  padding: 0 !important;
}

html[data-thvd-theme] body.woocommerce-checkout .select2-results__option--highlighted {
  background: var(--thvd-checkout-accent-soft) !important;
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme="light"] body.woocommerce-checkout form.checkout input[type="date"] {
  color-scheme: light !important;
}

html[data-thvd-theme="dark"] body.woocommerce-checkout form.checkout input[type="date"] {
  color-scheme: dark !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(input.input-text, input[type="date"], textarea):-webkit-autofill,
html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(input.input-text, input[type="date"], textarea):-webkit-autofill:hover,
html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(input.input-text, input[type="date"], textarea):-webkit-autofill:focus {
  -webkit-text-fill-color: var(--thvd-checkout-text) !important;
  box-shadow: 0 0 0 1000px var(--thvd-checkout-control) inset !important;
  caret-color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme] body.woocommerce-checkout #thvd_delivery_method_field {
  align-self: stretch !important;
  box-sizing: border-box !important;
  clear: both !important;
  flex: 1 0 100% !important;
  float: none !important;
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  inline-size: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  width: auto !important;
}

html[data-thvd-theme] body.woocommerce-checkout #thvd_delivery_method_field > .woocommerce-input-wrapper {
  align-items: stretch !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 100% !important;
  gap: 12px !important;
  inline-size: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

html[data-thvd-theme] body.woocommerce-checkout #thvd_delivery_method_field .thvd-radio-item {
  align-items: center !important;
  background: var(--thvd-checkout-control) !important;
  border: 1px solid var(--thvd-checkout-border) !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  color: var(--thvd-checkout-text) !important;
  display: grid !important;
  font-size: 13px !important;
  gap: 12px !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  inline-size: 100% !important;
  line-height: 1.45 !important;
  max-width: none !important;
  min-height: 48px !important;
  min-width: 0 !important;
  padding: 14px 16px !important;
  width: 100% !important;
}

html[data-thvd-theme] body.woocommerce-checkout #thvd_delivery_method_field .thvd-radio-item > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

html[data-thvd-theme] body.woocommerce-checkout #thvd_delivery_method_field .thvd-radio-item:hover {
  background: var(--thvd-checkout-control-soft) !important;
}

html[data-thvd-theme] body.woocommerce-checkout #thvd_delivery_method_field .thvd-radio-item:has(input:checked) {
  background: var(--thvd-checkout-accent-soft) !important;
  border-color: var(--thvd-checkout-accent) !important;
  box-shadow: inset 3px 0 0 var(--thvd-checkout-accent) !important;
}

html[data-thvd-theme] body.woocommerce-checkout #thvd_delivery_method_field .thvd-radio-item input[type="radio"] {
  accent-color: var(--thvd-checkout-accent) !important;
  flex: 0 0 18px;
  height: 18px !important;
  margin: 0 !important;
  width: 18px !important;
}

html[data-thvd-theme] body.woocommerce-checkout .thvd-delivery-fee-note[hidden] {
  display: none !important;
}

html[data-thvd-theme] body.woocommerce-checkout .thvd-delivery-fee-note:not([hidden]) {
  align-self: stretch;
  background: var(--thvd-checkout-accent-soft) !important;
  border: 1px solid var(--thvd-checkout-border) !important;
  border-left: 3px solid var(--thvd-checkout-accent) !important;
  border-radius: 0 8px 8px 0 !important;
  box-sizing: border-box !important;
  color: var(--thvd-checkout-text) !important;
  display: flex !important;
  flex-direction: column !important;
  font-size: 14px !important;
  font-style: normal !important;
  gap: 6px !important;
  letter-spacing: 0 !important;
  line-height: 1.58 !important;
  margin: -2px 0 6px !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow-wrap: break-word;
  padding: 12px 14px !important;
  width: 100% !important;
}

html[data-thvd-theme] body.woocommerce-checkout .thvd-delivery-fee-note:not([hidden]) > span {
  display: block;
  min-width: 0;
  width: 100%;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-checkout-review-order-table,
html[data-thvd-theme] body.woocommerce-checkout #payment .payment_box,
html[data-thvd-theme] body.woocommerce-checkout #payment .wc_payment_method > label {
  background: var(--thvd-checkout-panel) !important;
  border-color: var(--thvd-checkout-border) !important;
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-checkout-review-order-table [class~="text-white"] {
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-checkout-review-order-table [class*="text-white/"],
html[data-thvd-theme] body.woocommerce-checkout #payment [class*="text-white/"] {
  color: var(--thvd-checkout-muted) !important;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-checkout-review-order-table .bg-navy {
  background: var(--thvd-checkout-control-soft) !important;
}

html[data-thvd-theme] body.woocommerce-checkout :is(
  .woocommerce-error,
  .woocommerce-info,
  .woocommerce-message,
  .woocommerce-NoticeGroup
) {
  background: var(--thvd-checkout-panel) !important;
  border-color: var(--thvd-checkout-border) !important;
  color: var(--thvd-checkout-text) !important;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message {
  align-items: center !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 16px !important;
  justify-content: flex-start !important;
  min-height: 56px;
  padding: 14px 18px !important;
  width: 100%;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message::before {
  align-items: center;
  display: inline-flex !important;
  flex: 0 0 24px;
  inset: auto !important;
  justify-content: center;
  line-height: 1 !important;
  margin: 0 !important;
  order: 0;
  position: static !important;
  transform: none !important;
  width: 24px;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message .button.wc-forward {
  align-items: center !important;
  background: var(--thvd-checkout-accent) !important;
  border: 1px solid var(--thvd-checkout-accent) !important;
  border-radius: 8px !important;
  color: var(--thvd-navy-950) !important;
  display: inline-flex !important;
  float: none !important;
  flex: 0 0 auto;
  justify-content: center !important;
  margin: 0 0 0 auto !important;
  min-height: 42px;
  order: 2;
  padding: 0 18px !important;
  text-decoration: none !important;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message .button.wc-forward:hover,
html[data-thvd-theme] body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message .button.wc-forward:focus-visible {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft) !important;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-error {
  border-left-color: var(--thvd-checkout-error) !important;
}

html[data-thvd-theme] body.woocommerce-checkout .woocommerce-invalid :is(input, select, textarea, .select2-selection) {
  border-color: var(--thvd-checkout-error) !important;
}

html[data-thvd-theme] body.woocommerce-checkout form.checkout :is(a, button, input, select, textarea):focus-visible,
html[data-thvd-theme] body.woocommerce-checkout .select2-selection--single:focus-visible {
  box-shadow: var(--thvd-focus-ring) !important;
  outline: 2px solid var(--thvd-gold-soft) !important;
  outline-offset: 2px !important;
}

@media (max-width: 640px) {
  html[data-thvd-theme] body.woocommerce-checkout .thvd-delivery-fee-note:not([hidden]) {
    font-size: 14px !important;
    line-height: 1.55 !important;
    padding: 12px 14px !important;
  }

  html[data-thvd-theme] body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message {
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 10px 12px !important;
    padding: 12px 14px !important;
  }

  html[data-thvd-theme] body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message .button.wc-forward {
    flex: 1 0 100%;
    margin: 2px 0 0 !important;
    width: 100%;
  }
}

@media (max-width: 767px) {
  html body.woocommerce-checkout :is(
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper
  ) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  html body.woocommerce-checkout form.checkout .form-row {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  html body.woocommerce-checkout #thvd_delivery_method_field {
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
    inline-size: auto !important;
    justify-self: stretch !important;
    max-width: none !important;
    width: auto !important;
  }

  html body.woocommerce-checkout #thvd_delivery_method_field > .woocommerce-input-wrapper,
  html body.woocommerce-checkout #thvd_delivery_method_field .thvd-radio-item,
  html body.woocommerce-checkout #thvd_delivery_method_field .thvd-delivery-fee-note:not([hidden]) {
    box-sizing: border-box !important;
    inline-size: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Single product: one responsive, theme-aware component owner. */
html[data-thvd-theme] body.thvd-product-detail {
  --thvd-product-success: #16785a;
  --thvd-product-danger: #a43f3f;
  background: var(--thvd-page) !important;
  color: var(--thvd-ink) !important;
}

html[data-thvd-theme="dark"] body.thvd-product-detail {
  --thvd-product-success: #4dd3a5;
  --thvd-product-danger: #ff9e9e;
}

html[data-thvd-theme] body.thvd-product-detail main.thvd-single-product-page {
  background: transparent !important;
  color: var(--thvd-ink) !important;
  min-width: 0;
  padding:
    calc(var(--thvd-header-height) + clamp(18px, 2.2vw, 30px))
    var(--thvd-shell-gutter)
    56px !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related {
  margin-inline: auto !important;
  max-width: var(--thvd-container) !important;
  min-width: 0;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__back {
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0;
  border-radius: 7px;
  color: var(--thvd-gold-ink) !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  margin: 0 0 14px !important;
  min-height: 40px;
  padding: 6px 4px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__back:hover {
  color: var(--thvd-ink) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__back:focus-visible,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product :is(button, a, input, textarea):focus-visible {
  box-shadow: var(--thvd-focus-ring) !important;
  outline: 2px solid var(--thvd-gold-soft) !important;
  outline-offset: 2px !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__layout {
  align-items: start;
  display: grid;
  gap: clamp(24px, 3.5vw, 48px);
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  min-width: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__gallery,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__summary,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__form,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tabs,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panels {
  min-width: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__main-media {
  aspect-ratio: 4 / 3;
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 18px;
  box-shadow: var(--thvd-shadow);
  isolation: isolate;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  user-select: none;
  width: 100%;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__main-image {
  display: block;
  filter: none !important;
  height: 100% !important;
  inset: 0;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center;
  opacity: 1;
  position: absolute;
  transform: none !important;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__main-image--overlay {
  pointer-events: none;
  transition: opacity .22s ease;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__main-image--overlay.is-fading {
  opacity: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__category {
  left: 14px !important;
  position: absolute;
  top: 14px !important;
  z-index: 4;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__category > span {
  background: var(--thvd-gold) !important;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px !important;
  color: var(--thvd-navy-950) !important;
  display: inline-flex;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  line-height: 1.2 !important;
  padding: 6px 10px !important;
  text-transform: uppercase;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__thumbs {
  margin-top: 10px !important;
  padding-inline: 2px;
  position: relative;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-carousel-inner {
  min-width: 0;
  overflow: hidden;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-thumb {
  aspect-ratio: 4 / 3;
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 10px !important;
  cursor: pointer;
  height: clamp(62px, 6.2vw, 78px) !important;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-thumb img {
  display: block;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-thumb.is-active {
  border-color: var(--thvd-gold) !important;
  box-shadow: 0 0 0 2px rgba(217, 169, 29, .24) !important;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-nav {
  align-items: center;
  appearance: none;
  background: var(--thvd-navy-950) !important;
  border: 1px solid rgba(239, 200, 77, .68) !important;
  border-radius: 999px !important;
  color: var(--thvd-gold-soft) !important;
  cursor: pointer;
  display: inline-flex;
  height: 34px !important;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) !important;
  width: 34px !important;
  z-index: 5;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-prev {
  left: 5px !important;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-next {
  right: 5px !important;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-nav:hover:not(:disabled) {
  background: var(--thvd-gold) !important;
  color: var(--thvd-navy-950) !important;
}

html[data-thvd-theme] body.thvd-product-detail .product-gallery-nav:disabled {
  cursor: default;
  opacity: .38;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__summary {
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border);
  border-radius: 18px;
  box-shadow: var(--thvd-shadow);
  color: var(--thvd-ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 28px);
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__title {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-size: clamp(30px, 2.25vw, 36px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.18 !important;
  margin: 0 !important;
  max-width: 28ch;
  overflow-wrap: break-word;
  text-transform: none !important;
  word-break: normal;
}

@supports (text-wrap: balance) {
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__title {
    text-wrap: balance;
  }
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__meta-row,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__rating,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__stock {
  align-items: center;
  display: flex;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__meta-row {
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__rating {
  color: var(--thvd-gold);
  font-size: 13px;
  gap: 3px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__rating span {
  color: var(--thvd-muted) !important;
  margin-left: 5px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__stock {
  font-size: 13px;
  font-weight: 600;
  gap: 5px;
  white-space: nowrap;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__stock.is-in-stock {
  color: var(--thvd-product-success) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__stock.is-out-of-stock {
  color: var(--thvd-product-danger) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price .amount {
  color: var(--thvd-gold-ink) !important;
  font-family: inherit !important;
  font-size: clamp(28px, 2vw, 32px) !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 0 !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price del,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price del .amount {
  color: var(--thvd-muted) !important;
  font-size: .66em !important;
  font-weight: 500 !important;
  opacity: .8;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price ins {
  text-decoration: none;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__characteristics {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__characteristics li {
  align-items: start;
  color: var(--thvd-muted) !important;
  display: grid;
  font-size: 14px;
  gap: 8px;
  grid-template-columns: 7px minmax(0, 1fr);
  line-height: 1.5;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__characteristics li.thvd-single-product__characteristic--with-zalo {
  align-items: start;
  grid-template-columns: 7px minmax(0, 1fr) 42px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__characteristics li > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: break-word;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__characteristics li > span:first-child {
  background: var(--thvd-gold);
  border-radius: 999px;
  height: 7px;
  margin-top: .52em;
  width: 7px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__divider {
  background: var(--thvd-border);
  height: 1px;
  width: 100%;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__form {
  display: grid !important;
  font-size: 14px !important;
  gap: 14px !important;
  grid-template-columns: minmax(0, 1fr) !important;
  margin: 0 !important;
  min-width: 0;
  width: 100%;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__selection-row {
  --thvd-product-choice-height: 46px;
  align-items: start;
  display: grid !important;
  gap: clamp(12px, 1.5vw, 16px) !important;
  grid-template-columns: minmax(0, 3fr) minmax(132px, 2fr) !important;
  min-width: 0;
  width: 100%;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variations,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-group {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  min-width: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-group + .thvd-single-product__variation-group {
  margin-top: 8px !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__control-label {
  color: var(--thvd-muted) !important;
  display: block;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .03em !important;
  line-height: 1.35 !important;
  margin: 0;
  text-transform: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-options {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  min-width: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option {
  align-items: center;
  appearance: none;
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 8px !important;
  box-sizing: border-box;
  color: var(--thvd-ink) !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px !important;
  font-weight: 550 !important;
  block-size: var(--thvd-product-choice-height) !important;
  height: var(--thvd-product-choice-height) !important;
  justify-content: center;
  line-height: 1.2 !important;
  max-height: var(--thvd-product-choice-height) !important;
  min-height: var(--thvd-product-choice-height) !important;
  min-width: 74px;
  padding: 0 16px !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option:hover:not(:disabled) {
  border-color: var(--thvd-gold) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option.is-selected,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option[aria-pressed="true"] {
  background: var(--thvd-gold) !important;
  border-color: var(--thvd-gold) !important;
  color: var(--thvd-navy-950) !important;
  box-shadow: 0 5px 14px rgba(217, 169, 29, .22);
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option:disabled,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option.is-disabled {
  cursor: not-allowed;
  opacity: .38;
  text-decoration: line-through;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__native-variation {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__purchase-tools {
  align-items: end;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: minmax(132px, 156px) !important;
  margin: 0 !important;
  min-width: 0;
  width: 100%;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__purchase-tools--quantity-only {
  grid-template-columns: minmax(0, 1fr) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-block {
  display: grid;
  gap: 8px;
  min-width: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-control {
  align-items: stretch;
  background: var(--thvd-surface-soft);
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--thvd-border);
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 40px minmax(44px, 1fr) 40px;
  block-size: var(--thvd-product-choice-height) !important;
  height: var(--thvd-product-choice-height) !important;
  max-height: var(--thvd-product-choice-height) !important;
  min-height: var(--thvd-product-choice-height) !important;
  min-width: 0;
  overflow: hidden;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-control .quantity {
  block-size: var(--thvd-product-choice-height) !important;
  display: block !important;
  float: none !important;
  height: var(--thvd-product-choice-height) !important;
  margin: 0 !important;
  max-height: var(--thvd-product-choice-height) !important;
  min-height: var(--thvd-product-choice-height) !important;
  min-width: 0;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-control button {
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  color: var(--thvd-gold-ink) !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 600;
  block-size: var(--thvd-product-choice-height) !important;
  height: var(--thvd-product-choice-height) !important;
  justify-content: center;
  max-height: var(--thvd-product-choice-height) !important;
  min-height: var(--thvd-product-choice-height) !important;
  padding: 0 !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-control button:first-child {
  border-right: 1px solid var(--thvd-border) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-control button:last-child {
  border-left: 1px solid var(--thvd-border) !important;
}

html[data-thvd-theme] body.thvd-product-detail form.cart .thvd-single-product__quantity-input,
html[data-thvd-theme] body.thvd-product-detail form.cart input.qty,
html[data-thvd-theme] body.thvd-product-detail form.cart input[name="quantity"] {
  appearance: textfield !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  block-size: var(--thvd-product-choice-height) !important;
  height: var(--thvd-product-choice-height) !important;
  line-height: var(--thvd-product-choice-height) !important;
  margin: 0 !important;
  max-height: var(--thvd-product-choice-height) !important;
  min-height: var(--thvd-product-choice-height) !important;
  min-width: 0 !important;
  outline: 0 !important;
  padding: 0 4px !important;
  text-align: center !important;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__zalo {
  align-items: center !important;
  background: var(--thvd-surface-soft) !important;
  border: 1px solid var(--thvd-gold) !important;
  border-radius: 999px !important;
  color: var(--thvd-ink) !important;
  display: inline-flex !important;
  align-self: center;
  flex: 0 0 42px;
  font-size: 9px !important;
  font-weight: 650 !important;
  gap: 0 !important;
  height: 42px !important;
  justify-content: center !important;
  justify-self: end;
  line-height: 1.2 !important;
  margin: 0 !important;
  max-width: 42px !important;
  min-height: 42px !important;
  min-width: 42px !important;
  padding: 6px !important;
  text-decoration: none !important;
  text-transform: none !important;
  width: 42px !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__zalo:hover {
  background: rgba(217, 169, 29, .12) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__zalo-mark {
  align-items: center;
  background: var(--thvd-surface);
  border: 1px solid var(--thvd-border);
  border-radius: 999px;
  color: var(--thvd-ink) !important;
  display: inline-flex;
  flex: 0 0 26px;
  font-size: 8px;
  font-weight: 750;
  height: 26px;
  justify-content: center;
  letter-spacing: -.03em;
  width: 26px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__zalo-label {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__zalo-fallback {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-variation-error-msg {
  color: var(--thvd-product-danger) !important;
  font-size: 12px;
  line-height: 1.45;
  margin: -2px 0 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-variation-error-msg.hidden {
  display: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .single_variation_wrap,
html[data-thvd-theme] body.thvd-product-detail .woocommerce-variation-add-to-cart,
html[data-thvd-theme] body.thvd-product-detail .variations_button {
  display: block !important;
  margin: 0 !important;
  min-width: 0;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .woocommerce-variation.single_variation:empty {
  display: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .woocommerce-variation.single_variation .woocommerce-variation-price {
  display: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__actions {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 !important;
  min-width: 0;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__cta {
  align-items: center;
  appearance: none;
  border: 1px solid var(--thvd-gold) !important;
  border-radius: 8px !important;
  cursor: pointer;
  display: inline-flex !important;
  font-family: inherit !important;
  font-size: clamp(11px, 1.1vw, 13px) !important;
  font-weight: 700 !important;
  gap: 6px;
  height: 48px !important;
  justify-content: center;
  letter-spacing: .01em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  min-height: 48px !important;
  min-width: 0;
  padding: 0 8px !important;
  text-align: center;
  text-transform: none !important;
  white-space: nowrap;
  width: 100% !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__cta svg {
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__cta--secondary {
  background: var(--thvd-surface) !important;
  color: var(--thvd-gold-ink) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__cta--primary {
  background: var(--thvd-gold) !important;
  color: var(--thvd-navy-950) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__cta:hover:not(:disabled) {
  background: var(--thvd-gold-soft) !important;
  border-color: var(--thvd-gold-soft) !important;
  color: var(--thvd-navy-950) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__cta:disabled {
  cursor: not-allowed;
  opacity: .48;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust {
  border-top: 1px solid var(--thvd-border);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2px;
  padding-top: 14px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-item {
  align-items: center;
  background: var(--thvd-surface-soft);
  border: 1px solid var(--thvd-border);
  border-radius: 9px;
  display: grid;
  gap: 8px;
  grid-template-columns: 30px minmax(0, 1fr);
  min-width: 0;
  padding: 9px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-icon {
  align-items: center;
  background: var(--thvd-navy-900);
  border: 1px solid rgba(217, 169, 29, .66);
  border-radius: 999px;
  color: var(--thvd-gold-soft);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-icon svg {
  height: 15px;
  width: 15px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-title,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-copy {
  display: block;
  min-width: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-title {
  color: var(--thvd-muted) !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-copy {
  color: var(--thvd-ink) !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tabs {
  margin-top: clamp(26px, 4vw, 48px);
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tablist {
  border-bottom: 1px solid var(--thvd-border);
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tablist::-webkit-scrollbar {
  display: none;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tab {
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  color: var(--thvd-muted) !important;
  cursor: pointer;
  flex: 0 0 auto;
  font-family: inherit !important;
  font-size: clamp(14px, 1.5vw, 17px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  min-height: 48px;
  padding: 11px 0 13px !important;
  position: relative;
  text-transform: none !important;
  white-space: nowrap;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tab::after {
  background: var(--thvd-gold);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  transform: scaleX(.55);
  transition: opacity .16s ease, transform .16s ease;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tab.is-active,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tab[aria-selected="true"] {
  color: var(--thvd-gold-ink) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tab.is-active::after,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tab[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panels {
  color: var(--thvd-muted);
  padding-top: 22px;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel {
  color: var(--thvd-muted) !important;
  font-size: 16px;
  line-height: 1.72;
  min-width: 0;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel[hidden],
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel.hidden {
  display: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description {
  color: var(--thvd-muted) !important;
  font-weight: 400 !important;
  line-height: 1.72 !important;
  margin: 0 auto !important;
  max-width: 980px !important;
  overflow-wrap: break-word;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description :is(p, li, span, div) {
  color: inherit !important;
  font-size: inherit;
  line-height: inherit;
  text-align: left !important;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description :is(h1, h2, h3, h4, h5, h6, strong) {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description h1,
html[data-thvd-theme] body.thvd-product-detail .single-product-description h2 {
  font-size: clamp(23px, 2.3vw, 31px) !important;
  line-height: 1.28 !important;
  margin: 30px 0 12px !important;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description h3 {
  font-size: clamp(19px, 1.8vw, 24px) !important;
  line-height: 1.35 !important;
  margin: 24px 0 10px !important;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description :is(h4, h5, h6) {
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin: 20px 0 8px !important;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description a {
  color: var(--thvd-gold-ink) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description img {
  border-radius: 12px;
  display: block;
  filter: none !important;
  height: auto !important;
  margin: 20px auto 6px;
  max-width: 100% !important;
  object-fit: contain !important;
  transform: none !important;
  width: auto !important;
}

html[data-thvd-theme] body.thvd-product-detail .single-product-description figcaption {
  color: var(--thvd-muted) !important;
  font-size: 13px !important;
  font-style: italic;
  line-height: 1.5 !important;
  margin: 0 auto 18px;
  max-width: 760px;
  text-align: center;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel [class*="bg-navy"],
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel [class*="bg-white/"] {
  background: var(--thvd-surface-soft) !important;
  border-color: var(--thvd-border) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel [class~="text-white"],
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel [class*="text-white/"] {
  color: var(--thvd-muted) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel .text-gold {
  color: var(--thvd-gold-ink) !important;
}

html[data-thvd-theme] body.thvd-product-detail #review_form_wrapper {
  background: var(--thvd-surface-soft);
  border: 1px solid var(--thvd-border);
  border-radius: 12px;
  margin-top: 24px;
  padding: clamp(16px, 2.5vw, 26px);
}

html[data-thvd-theme] body.thvd-product-detail #review_form_wrapper #respond .comment-form {
  gap: 14px !important;
}

html[data-thvd-theme] body.thvd-product-detail #review_form_wrapper #respond :is(
  .comment-form-author > label,
  .comment-form-email > label,
  .comment-form-comment > label,
  .comment-form-rating > label,
  .comment-notes,
  .logged-in-as
) {
  color: var(--thvd-muted) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

html[data-thvd-theme] body.thvd-product-detail #review_form_wrapper #respond :is(
  input[type="text"],
  input[type="email"],
  input[type="url"],
  textarea
) {
  background: var(--thvd-surface) !important;
  border: 1px solid var(--thvd-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
}

html[data-thvd-theme] body.thvd-product-detail #review_form_wrapper #respond :is(
  input[type="text"],
  input[type="email"],
  input[type="url"],
  textarea
):focus {
  border-color: var(--thvd-gold) !important;
  box-shadow: var(--thvd-focus-ring) !important;
}

html[data-thvd-theme] body.thvd-product-detail #review_form_wrapper #respond .comment-form-cookies-consent {
  color: var(--thvd-muted) !important;
}

html[data-thvd-theme] body.thvd-product-detail #review_form_wrapper #respond .form-submit input[type="submit"] {
  background: var(--thvd-gold) !important;
  border: 1px solid var(--thvd-gold) !important;
  border-radius: 8px !important;
  color: var(--thvd-navy-950) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  height: 46px !important;
  letter-spacing: .02em !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  text-transform: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related {
  margin-top: clamp(34px, 5vw, 58px) !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related h2 {
  color: var(--thvd-ink) !important;
  font-family: inherit !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related .thvd-product-card h3,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related .thvd-product-card h3 a,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related .thvd-product-card__content > a {
  color: var(--thvd-ink) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related .thvd-product-card:hover h3,
html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__related .thvd-product-card__content > a:focus-visible h3 {
  color: var(--thvd-gold-ink) !important;
}

@media (max-width: 1023px) {
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__layout {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__gallery,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__summary {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  html[data-thvd-theme] body.thvd-product-detail main.thvd-single-product-page {
    --thvd-shell-gutter: 16px;
    padding-bottom: calc(42px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__back {
    margin-bottom: 10px !important;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__main-media {
    border-radius: 14px;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__summary {
    border-radius: 14px;
    gap: 12px;
    padding: 16px;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__title {
    font-size: clamp(22px, 6.2vw, 26px) !important;
    line-height: 1.18 !important;
    max-width: none;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__price .amount {
    font-size: clamp(23px, 6.2vw, 27px) !important;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__meta-row {
    justify-content: flex-start;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__selection-row {
    gap: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-options {
    gap: 6px !important;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option {
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
    padding: 0 8px !important;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__purchase-tools,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__purchase-tools--quantity-only,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-block,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__quantity-control {
    min-width: 0 !important;
    width: 100% !important;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust {
    gap: 6px;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-item {
    align-content: start;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    min-height: 102px;
    padding: 8px 5px;
    scroll-snap-align: none;
    text-align: center;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-icon {
    height: 28px;
    width: 28px;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-icon svg {
    height: 14px;
    width: 14px;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-title {
    font-size: 10px;
    line-height: 1.2;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__trust-copy {
    font-size: clamp(10.5px, 2.9vw, 11.5px);
    line-height: 1.25;
    text-wrap: balance;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tablist {
    gap: 22px;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panels {
    padding-top: 18px;
  }

  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__panel,
  html[data-thvd-theme] body.thvd-product-detail .single-product-description {
    font-size: 15px;
    line-height: 1.68 !important;
  }
}

@media (max-width: 339px) {
  html body.thvd-catalog .thvd-catalog-controls,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__purchase-tools,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.thvd-catalog .thvd-catalog-controls {
    gap: 8px !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__main-image--overlay,
  html[data-thvd-theme] body.thvd-product-detail .product-gallery-thumb,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__variation-option,
  html[data-thvd-theme] body.thvd-product-detail .thvd-single-product__tab::after {
    transition: none !important;
  }
}

/* Final mobile checkout/product control ownership.
 * These selectors intentionally outrank the legacy generated commerce layer
 * without changing its desktop presentation or checkout data flow.
 */
@media (max-width: 767px) {
  html[data-thvd-theme] body.woocommerce-checkout form.checkout
  .woocommerce-billing-fields__field-wrapper > #thvd_delivery_method_field.form-row {
    box-sizing: border-box !important;
    grid-column: 1 / span 2 !important;
    inline-size: 100% !important;
    justify-self: stretch !important;
    margin-inline: 0 !important;
    max-inline-size: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html[data-thvd-theme] body.woocommerce-checkout form.checkout
  .woocommerce-billing-fields__field-wrapper > #thvd_delivery_method_field.form-row
  > .woocommerce-input-wrapper {
    align-items: stretch !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html[data-thvd-theme] body.woocommerce-checkout form.checkout
  #thvd_delivery_method_field.form-row .thvd-radio-item,
  html[data-thvd-theme] body.woocommerce-checkout form.checkout
  #thvd_delivery_method_field.form-row .thvd-delivery-fee-note:not([hidden]) {
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
    inline-size: 100% !important;
    justify-self: stretch !important;
    max-inline-size: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html[data-thvd-theme] body.thvd-product-detail form.variations_form
  button.thvd-single-product__variation-option[data-attribute-option] {
    block-size: var(--thvd-product-choice-height) !important;
    box-sizing: border-box !important;
    height: var(--thvd-product-choice-height) !important;
    max-block-size: var(--thvd-product-choice-height) !important;
    max-height: var(--thvd-product-choice-height) !important;
    min-block-size: var(--thvd-product-choice-height) !important;
    min-height: var(--thvd-product-choice-height) !important;
  }
}
