:root {
  --color-navy: #2c3e50;
  --color-teal: #1abc9c;
  --color-teal-dark: #16a085;
  --color-teal-light: rgba(26, 188, 156, 0.1);
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #ecf0f1;
  --color-heading-dark: #111111;
  --color-btn-blue: #0984e3;
  --color-btn-blue-hover: #076bbb;
  --font-family: "Roboto", sans-serif;
  --transition-speed: 0.3s;
  --max-width: 1320px;
}

.tbch247-theme {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tbch247-theme *,
.tbch247-theme *::before,
.tbch247-theme *::after { box-sizing: border-box; }
.tbch247-theme a { color: inherit; text-decoration: none; }
.tbch247-theme img { display: block; max-width: 100%; height: auto; }
.tbch247-theme button,
.tbch247-theme input { font: inherit; }
.tbch247-theme button { cursor: pointer; }
.tbch247-theme ul { margin: 0; padding: 0; list-style: none; }
.tbch247-theme .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* WooCommerce injects this link after an AJAX add-to-cart; the theme keeps the card action compact. */
.woocommerce a.added_to_cart.wc-forward,
a.added_to_cart.wc-forward { display: none !important; }
.tbch247-theme :focus-visible { outline: 3px solid rgba(26, 188, 156, .5); outline-offset: 3px; }

/* The source HTML uses a zero-margin reset. Scope the same reset to the
   converted components so WordPress/plugin typography cannot enlarge them. */
.tbch247-theme :where(
  .site-header *, .site-header *::before, .site-header *::after,
  .site-footer *, .site-footer *::before, .site-footer *::after,
  .floating-actions *, .floating-actions *::before, .floating-actions *::after
) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; width: 100%; background: var(--color-white); box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.admin-bar .site-header { top: 32px; }
.header-main-bar { background: var(--color-white); border-bottom: 1px solid #edf2f7; }
.header-main-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--max-width); min-height: 76px; margin: 0 auto; padding: 10px 20px; }
.logo-block,
.custom-logo-block { display: flex; flex: 0 0 auto; align-items: center; }
.logo-block .custom-logo-link,
.custom-logo-block .custom-logo-link,
.drawer-logo .custom-logo-link,
.footer-custom-logo .custom-logo-link { display: block; }
.logo-img,
.custom-logo-block .custom-logo,
.logo-block .custom-logo { display: block; width: auto; max-width: 280px; height: 58px; object-fit: contain; transition: transform var(--transition-speed) ease; }
.logo-block:hover .logo-img,
.custom-logo-block:hover .custom-logo { transform: scale(1.02); }
.header-search-wrapper { flex: 1 1 auto; max-width: 500px; margin: 0 16px; }
.header-search-form { display: flex; align-items: center; height: 38px; overflow: hidden; border: 1.5px solid var(--color-teal); border-radius: 6px; background: var(--color-white); box-shadow: 0 1px 4px rgba(0,0,0,.04); transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease; }
.header-search-form:focus-within { border-color: var(--color-teal-dark); box-shadow: 0 0 0 3px rgba(26,188,156,.15); }
.header-search-input { flex: 1 1 auto; width: 100%; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; color: #1e293b; font-size: .88rem; }
.header-search-input::placeholder { color: #94a3b8; font-size: .85rem; }
.header-search-btn { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 100%; padding: 0; border: 0; background: var(--color-teal); color: var(--color-white); transition: background var(--transition-speed) ease; }
.header-search-btn:hover { background: var(--color-teal-dark); }
.header-contact-badges { display: flex; flex: 0 0 auto; align-items: center; gap: 22px; }
.contact-badge-item { display: flex; align-items: center; gap: 10px; transition: opacity var(--transition-speed) ease; }
.contact-badge-item:hover { opacity: .88; }
.badge-icon-wrap { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(26,188,156,.12); color: var(--color-teal); }
.badge-text-wrap { display: flex; flex-direction: column; line-height: 1.25; }
.badge-label { color: #64748b; font-size: .72rem; font-weight: 800; letter-spacing: .5px; }
.badge-val { color: #0f172a; font-size: .88rem; font-weight: 700; transition: color var(--transition-speed) ease; }
.contact-badge-item:hover .badge-val { color: var(--color-teal); }

.header-nav-bar { background: var(--color-navy); border-bottom: 2px solid var(--color-teal); }
.header-nav-container { display: flex; align-items: stretch; max-width: var(--max-width); min-height: 48px; margin: 0 auto; padding: 0 20px; }
.nav-cat-dropdown { position: relative; z-index: 100; flex: 0 0 250px; width: 250px; }
.nav-cat-btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; min-height: 48px; padding: 13px 18px; border: 0; background: var(--color-teal); color: var(--color-white); font-size: .94rem; font-weight: 800; letter-spacing: .3px; text-align: left; text-transform: uppercase; transition: background var(--transition-speed) ease; }
.nav-cat-btn:hover,
.nav-cat-dropdown.open .nav-cat-btn { background: var(--color-teal-dark); }
.nav-cat-hamburger { font-size: 1.15rem; line-height: 1; }
.nav-cat-menu { position: absolute; top: 100%; left: 0; display: none; width: 100%; overflow: hidden; border: 1px solid #e2e8f0; border-top: 2px solid var(--color-teal); background: var(--color-white); box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.nav-cat-dropdown.open .nav-cat-menu { display: block; animation: tbch247-fade-in .2s ease-in-out; }
.nav-cat-menu li { border-bottom: 1px solid #f1f5f9; }
.nav-cat-menu li:last-child { border-bottom: 0; }
.nav-cat-menu a { display: block; padding: 10px 16px; color: #334155; font-size: .88rem; font-weight: 600; transition: all var(--transition-speed) ease; }
.nav-cat-menu a:hover,
.nav-cat-menu .current-menu-item > a { padding-left: 20px; background: #f0fdfa; color: var(--color-teal-dark); }

.site-nav { display: flex; flex: 1 1 auto; align-items: stretch; min-width: 0; }
.nav-list { display: flex; flex: 1 1 auto; align-items: stretch; justify-content: space-evenly; min-width: 0; padding: 0 10px; }
.nav-list > li { position: relative; display: flex; align-items: stretch; }
.nav-list > li > a,
.nav-link-cart { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 13px 18px; border-radius: 4px; color: var(--color-white); font-size: .95rem; font-weight: 700; letter-spacing: .4px; text-align: center; text-transform: uppercase; white-space: nowrap; transition: all var(--transition-speed) ease; }
.nav-link-cart { align-self: stretch; margin-left: auto; }
.nav-list > li > a:hover,
.nav-list > .current-menu-item > a,
.nav-list > .current-menu-ancestor > a,
.nav-link-cart:hover { background: rgba(255,255,255,.1); color: var(--color-teal); }
.nav-list .menu-item-has-children > a::after { content: "⌄"; margin-left: 4px; font-size: .9em; transition: transform var(--transition-speed) ease; }
.nav-list .menu-item-has-children:hover > a::after { transform: translateY(2px); }
.nav-list .sub-menu { position: absolute; top: 100%; left: 0; z-index: 1100; min-width: 260px; padding: 8px 0; border: 1px solid var(--color-teal); border-radius: 0 0 4px 4px; background: var(--color-navy); box-shadow: 0 8px 24px rgba(0,0,0,.35); opacity: 0; transform: translateY(10px); visibility: hidden; transition: all var(--transition-speed) ease; }
.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children:focus-within > .sub-menu { opacity: 1; transform: translateY(0); visibility: visible; }
.nav-list .sub-menu a { display: block; padding: 10px 18px; border-left: 3px solid transparent; color: var(--color-white); font-size: .9rem; font-weight: 600; transition: all .2s ease; }
.nav-list .sub-menu a:hover,
.nav-list .sub-menu .current-menu-item > a { padding-left: 22px; border-left-color: var(--color-teal); background: rgba(26,188,156,.15); color: var(--color-teal); }
.nav-cart-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--color-teal); color: var(--color-white); font-size: .72rem; font-weight: 800; line-height: 1; }
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; padding: 0; border: 0; background: transparent; }
.mobile-menu-toggle .bar { display: block; width: 100%; height: 3px; border-radius: 2px; background: #1e293b; transition: all var(--transition-speed) ease; }
.mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(9.5px) rotate(45deg); background: var(--color-teal); }
.mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); background: var(--color-teal); }

/* Mobile drawer */
.mobile-drawer-overlay { position: fixed; inset: 0; z-index: 999999; display: none; background: rgba(15,23,42,.65); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s cubic-bezier(.4,0,.2,1); }
.mobile-drawer-overlay.active { display: block; opacity: 1; }
.mobile-drawer-menu { position: fixed; top: 0; right: -100%; z-index: 1000000; display: flex; flex-direction: column; width: 100%; max-width: 100%; height: 100vh; height: 100dvh; overflow-y: auto; background: #fff; box-shadow: none; transition: right .3s cubic-bezier(.16,1,.3,1); }
.mobile-drawer-overlay.active .mobile-drawer-menu { right: 0; }
.drawer-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #eef2f6; background: #fff; }
.drawer-logo { display: flex; align-items: center; }
.drawer-logo .logo-img,
.drawer-logo .custom-logo { width: auto; max-width: 190px; height: 38px; object-fit: contain; }
.btn-close-drawer { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1.5px solid #cbd5e1; border-radius: 50%; background: #fff; color: #334155; transition: all var(--transition-speed) ease; }
.btn-close-drawer:hover { border-color: #94a3b8; background: #f1f5f9; color: #0f172a; }
.drawer-nav { flex: 1 0 auto; padding: 6px 0; }
.drawer-nav-list > li,
.drawer-cart-list > li { position: relative; border-bottom: 1px solid #f1f5f9; }
.drawer-nav-list > li > a,
.drawer-nav-link { display: flex; align-items: center; justify-content: space-between; min-height: 51px; padding: 14px 20px; color: #0f172a; font-size: .95rem; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; transition: all var(--transition-speed) ease; }
.drawer-nav-list > li.current-menu-item > a,
.drawer-nav-list > li > a:hover,
.drawer-nav-link:hover { background: #f8fafc; color: var(--color-teal); }
.drawer-nav-list .menu-item-has-children > a { padding-right: 62px; }
.drawer-submenu-toggle { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 51px; padding: 0; border: 0; background: transparent; color: #64748b; font-size: 1.2rem; transition: all .25s ease; }
.drawer-nav-list .menu-item-has-children.is-open .drawer-submenu-toggle { color: var(--color-teal); transform: rotate(180deg); }
.drawer-nav-list .sub-menu { display: none; padding: 0 0 8px; border-top: 1px solid #edf2f7; background: #f8fafc; }
.drawer-nav-list .is-open > .sub-menu { display: block; animation: tbch247-fade-in .2s ease-in-out; }
.drawer-nav-list .sub-menu a { display: block; padding: 10px 20px 10px 32px; border-bottom: 1px solid #f1f5f9; color: #475569; font-size: .88rem; font-weight: 600; transition: all var(--transition-speed) ease; }
.drawer-nav-list .sub-menu a:hover { padding-left: 36px; background: #f0fdfa; color: var(--color-teal); }
.drawer-footer { margin-top: auto; padding: 20px 18px 24px; border-top: 1px solid #eef2f6; background: #fff; }
.btn-drawer-contact { display: flex; align-items: center; justify-content: center; width: 100%; margin-bottom: 14px; padding: 13px 18px; border-radius: 8px; background: var(--color-teal); box-shadow: 0 4px 14px rgba(26,188,156,.35); color: #fff; font-size: .98rem; font-weight: 800; transition: all var(--transition-speed) ease; }
.btn-drawer-contact:hover { background: var(--color-teal-dark); transform: translateY(-1px); }
.drawer-phone-info { margin: 0 0 16px; color: #1e293b; font-size: .92rem; font-weight: 700; text-align: center; }
.drawer-phone-link { color: #0f172a; font-weight: 800; }
.drawer-email-info { flex-wrap: wrap; }
.drawer-email-info > span { min-width: 0; overflow-wrap: anywhere; }
.drawer-social-row { display: flex; justify-content: center; gap: 16px; }
.drawer-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #e2e8f0; border-radius: 50%; background: #fff; color: #475569; font-weight: 800; transition: all var(--transition-speed) ease; }
.drawer-social-icon:hover { border-color: var(--color-teal); background: #f0fdfa; color: var(--color-teal); transform: translateY(-2px); }
.tbch247-drawer-open { overflow: hidden; }

/* Footer */
.site-footer { width: 100%; padding: 45px 0 0; border-top: 3px solid var(--color-teal); background: var(--color-navy); color: #fff; }
.footer-container { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 32px 28px; max-width: var(--max-width); margin: 0 auto; padding: 0 20px 40px; }
.footer-col { display: flex; flex-direction: column; min-width: 0; }
.footer-brand-header { margin: 0 0 12px -4px; }
.footer-logo-link,
.footer-custom-logo .custom-logo-link { display: inline-block; }
.footer-logo-img,
.footer-custom-logo .custom-logo { width: auto; max-width: 260px; height: 60px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-company-desc { margin: 0 0 16px; color: #cbd5e1; font-size: .88rem; line-height: 1.55; }
.footer-heading { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; color: #fff; font-size: .98rem; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.heading-bar { color: var(--color-teal); font-size: 1.1rem; font-weight: 900; line-height: 1; }
.footer-contact-details { display: flex; flex-direction: column; gap: 12px; color: #e2e8f0; font-size: .9rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer-contact-icon { display: inline-flex; flex: 0 0 20px; justify-content: center; color: var(--color-teal); font-size: 1rem; }
.footer-contact-item strong { color: #fff; }
.footer-branches-list { display: flex; flex-direction: column; gap: 4px; margin-top: 2px; color: #cbd5e1; font-size: .86rem; }
.footer-contact-item a { color: #e2e8f0; transition: color var(--transition-speed) ease; }
.footer-contact-item a:hover { color: var(--color-teal); text-decoration: underline; }
.footer-link-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link-list li { display: flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: .9rem; line-height: 1.4; }
.footer-link-list li::before { content: "›"; color: #94a3b8; font-size: 1.15rem; font-weight: 700; transition: transform var(--transition-speed) ease, color var(--transition-speed) ease; }
.footer-link-list a { transition: color var(--transition-speed) ease; }
.footer-link-list li:hover::before { color: var(--color-teal); transform: translateX(3px); }
.footer-link-list li:hover a,
.footer-link-list .current-menu-item a { color: #fff; }
.footer-subscribe-desc { margin: 0 0 12px; color: #cbd5e1; font-size: .88rem; line-height: 1.5; }
.footer-subscribe-box { display: flex; align-items: center; margin: 0 0 18px; padding: 3px; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.footer-subscribe-input { flex: 1 1 auto; min-width: 0; padding: 9px 12px; border: 0; outline: 0; background: transparent; color: #1e293b; font-size: .88rem; }
.footer-subscribe-input::placeholder { color: #94a3b8; font-size: .86rem; }
.footer-subscribe-btn { padding: 9px 16px; border: 0; border-radius: 4px; background: var(--color-teal); color: #fff; font-size: .88rem; font-weight: 700; white-space: nowrap; transition: background var(--transition-speed) ease; }
.footer-subscribe-btn:hover { background: var(--color-teal-dark); }
.footer-social-section { display: flex; flex-direction: column; gap: 8px; }
.footer-social-label { color: #fff; font-size: .88rem; font-weight: 600; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 4px; background: rgba(255,255,255,.12); color: #fff; font-size: .84rem; font-weight: 600; transition: all var(--transition-speed) ease; }
.social-tag:hover { background: var(--color-teal); transform: translateY(-2px); }
.footer-bottom { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.28); }
.footer-bottom-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.footer-copyright { margin: 0; color: #94a3b8; font-size: .84rem; }

/* Floating actions */
.floating-actions { position: fixed; right: 25px; bottom: 25px; z-index: 1000; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.back-to-top { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 2px solid #e2e8f0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); color: #1e293b; opacity: 0; transform: translateY(10px); visibility: hidden; transition: all var(--transition-speed) ease; }
.back-to-top.visible { opacity: 1; transform: translateY(0); visibility: visible; }
.back-to-top:hover { border-color: var(--color-teal); background: var(--color-teal); box-shadow: 0 6px 18px rgba(26,188,156,.35); color: #fff; transform: translateY(-2px); }
.floating-contact-widget { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.btn-floating-contact-trigger { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg,#00cba0 0%,#00a884 100%); box-shadow: 0 0 0 7px rgba(0,168,132,.22), 0 8px 25px rgba(0,168,132,.45); color: #fff; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease; }
.btn-floating-contact-trigger:hover { box-shadow: 0 0 0 9px rgba(0,168,132,.3), 0 10px 28px rgba(0,168,132,.55); transform: scale(1.06); }
.contact-trigger-label { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.contact-trigger-label img { width: 26px; height: 26px; object-fit: contain; }
.contact-pulse-ring { position: absolute; z-index: -1; inset: -6px; border-radius: 50%; background: rgba(0,168,132,.25); animation: tbch247-contact-pulse 2.2s infinite cubic-bezier(.4,0,.6,1); pointer-events: none; }
.floating-contact-widget.active .contact-pulse-ring { display: none; }
.contact-popup-menu { position: absolute; right: 0; bottom: calc(100% + 14px); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: 0; transform: translateY(15px) scale(.95); transform-origin: bottom right; visibility: hidden; pointer-events: none; transition: all .3s cubic-bezier(.16,1,.3,1); }
.floating-contact-widget.active .contact-popup-menu { opacity: 1; transform: translateY(0) scale(1); visibility: visible; pointer-events: auto; }
.contact-pill-item { display: inline-flex; align-items: center; height: 48px; padding: 4px 18px; border-radius: 9999px; box-shadow: 0 6px 18px rgba(0,0,0,.2); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease; }
.tbch247-theme .floating-contact-widget .contact-pill-item { color: #fff; }
.contact-pill-item:hover { transform: translateX(-4px) scale(1.02); }
.pill-chat { background: linear-gradient(135deg,#00cba0 0%,#00a884 100%); }
.pill-phone { background: linear-gradient(135deg,#00d659 0%,#00b852 100%); }
.pill-zalo { background: linear-gradient(135deg,#1a7bff 0%,#0068ff 100%); }

/* Minimal fallback content for Phase 1 only */
.theme-main { min-height: 320px; padding: 40px 0 70px; background: var(--color-white); }
.theme-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.theme-content-card { padding: 28px 30px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.theme-entry-title { margin: 0 0 12px; color: #0f172a; font-size: 1.8rem; font-weight: 800; line-height: 1.3; }

@keyframes tbch247-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tbch247-contact-pulse { 0%,100% { opacity: .85; transform: scale(.95); } 50% { opacity: .25; transform: scale(1.2); } }

@media screen and (max-width: 991px) {
  .header-main-container { gap: 14px; }
  .header-contact-badges { gap: 12px; }
  .nav-list > li > a,
  .nav-link-cart { padding-right: 10px; padding-left: 10px; font-size: .86rem; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media screen and (max-width: 768px) {
  .admin-bar .site-header { top: 46px; }
  .header-main-container { min-height: 58px; flex-wrap: wrap; gap: 8px 0; padding: 10px 16px; }
  .logo-block,
  .custom-logo-block { order: 1; max-width: calc(100% - 60px); }
  .logo-img,
  .custom-logo-block .custom-logo,
  .logo-block .custom-logo { max-width: 210px; height: 42px; }
  .mobile-menu-toggle { order: 2; display: flex; margin-left: auto; }
  /* Keep drawer controls physically fixed: logo left and close button right. */
  .drawer-header { min-height: 63px; }
  .drawer-header .drawer-logo { position: absolute; top: 10px; left: 16px; right: auto; order: 0; max-width: calc(100% - 88px); }
  .drawer-header .btn-close-drawer { position: absolute; top: 12px; right: 16px; left: auto; order: 1; margin-left: 0; }
  .header-search-wrapper { order: 3; width: 100%; max-width: none; margin: 4px 0 2px; }
  .header-contact-badges,
  .site-nav,
  .nav-cat-dropdown { display: none; }
  .header-nav-bar { height: 0; min-height: 0; margin: 0; padding: 0; }
  .header-nav-container { min-height: 0; padding: 0; }
  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .theme-container { padding: 0 14px; }
  .theme-content-card { padding: 24px 18px; }
}

@media screen and (max-width: 576px) {
  .floating-actions { right: 16px; bottom: 20px; gap: 10px; }
  .btn-floating-contact-trigger { width: 54px; height: 54px; }
  .contact-pill-item { height: 44px; padding: 3px 16px; font-size: 14px; }
}

/* Exact component structure retained in the WordPress template. */
.nav-cat-dropdown:hover .nav-cat-menu { display: block; animation: tbch247-fade-in .2s ease-in-out; }
.footer-contact-icon { margin-top: 2px; }
.footer-contact-svg { display: block; width: 17px; height: 17px; }
.footer-contact-text { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.footer-contact-text .contact-label { color: #fff; font-weight: 700; white-space: nowrap; }
.footer-contact-text .contact-value { color: #e2e8f0; font-weight: 400; text-decoration: none; }
.footer-link-list li::before { display: none; }
.link-arrow { color: #94a3b8; font-size: 1.15rem; font-weight: 700; line-height: 1; transition: transform var(--transition-speed) ease, color var(--transition-speed) ease; }
.footer-link-list li:hover .link-arrow { color: var(--color-teal); transform: translateX(3px); }
.contact-trigger-icon { position: absolute; display: flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease; }
.contact-trigger-icon.icon-logo { opacity: 1; transform: scale(1) rotate(0); }
.contact-trigger-logo-wrap { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.contact-trigger-logo { display: block; width: 26px; height: 26px; object-fit: contain; }
.contact-trigger-icon.icon-close { opacity: 0; transform: scale(.4) rotate(-90deg); }
.floating-contact-widget.active .contact-trigger-icon.icon-logo { opacity: 0; transform: scale(.4) rotate(90deg); }
.floating-contact-widget.active .contact-trigger-icon.icon-close { opacity: 1; transform: scale(1) rotate(0); }
.contact-pill-item { gap: 12px; padding: 4px 18px 4px 5px; }
.contact-pill-item .pill-icon-circle { display: flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.contact-pill-item .pill-logo-img { display: block; width: 24px; height: 24px; object-fit: contain; }
.contact-pill-item .pill-text { font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.contact-pill-item.pill-chat { box-shadow: 0 0 0 6px rgba(0,168,132,.2), 0 6px 18px rgba(0,168,132,.35); }
.contact-pill-item.pill-phone { box-shadow: 0 0 0 6px rgba(0,200,83,.2), 0 6px 18px rgba(0,200,83,.35); }
.contact-pill-item.pill-phone .pill-icon-circle { color: #00b852; }
.contact-pill-item.pill-zalo { box-shadow: 0 0 0 6px rgba(0,104,255,.2), 0 6px 18px rgba(0,104,255,.35); }
.contact-pill-item.pill-zalo .pill-icon-circle { color: #0068ff; }
.zalo-letter-icon { font-size: 13px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }

.tbch247-search__sort-form { margin: 0; }
.tbch247-search__sort-submit { padding: 8px 14px; border: 1px solid var(--color-teal); border-radius: 4px; background: var(--color-teal); color: #fff; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.tbch247-search__sort-submit:hover { border-color: var(--color-teal-dark); background: var(--color-teal-dark); }
.tbch247-search__pagination .page-numbers { display: inline-flex; min-width: 36px; height: 36px; padding: 0 10px; align-items: center; justify-content: center; border: 1px solid #74b9ff; border-radius: 2px; background: #fff; color: #0984e3; font-size: .95rem; font-weight: 600; text-decoration: none; }
.tbch247-search__pagination a.page-numbers:hover,
.tbch247-search__pagination .page-numbers.current { border-color: #0984e3; background: #0984e3; color: #fff; }
.tbch247-search__pagination .page-numbers.dots { border-color: transparent; background: transparent; color: #64748b; }
@media screen and (max-width: 767px) {
  .tbch247-search__sort-form { flex-wrap: wrap; }
  .tbch247-search__sort-label { width: 100%; }
  .tbch247-search__sort-submit { flex: 0 0 auto; }
}
