/* ==========================================================
   Xe Máy Tuấn Đạt — Đầu trang dùng chung cho mọi trang
   (dải thông tin, thanh menu + menu thả thương hiệu, menu điện thoại, nút liên hệ nổi).
   Mọi class có tiền tố sh- để không đụng theme WordPress/Flatsome cũ.
   Bố cục: tools/home_template.html + tools/build_home.py (MENU)  ·  Áp cho mọi trang: python tools/build_home.py
   ========================================================== */
:root :is(.sh-topbar, .sh-header, .sh-drawer, .sh-float) {
  --bg: #16181C;
  --bg-2: #0F1013;
  --surface: #1F2126;
  --surface-2: #25272D;
  --line: rgba(200,160,74,.18);
  --line-strong: rgba(200,160,74,.42);
  --gold: #C8A04A;
  --gold-2: #E3C77E;
  --ivory: #F3EEE4;
  --text: #E6E3DC;
  --muted: #B5AFA3;
  --dim: #8F897E;
  --gold-grad: linear-gradient(135deg, #E3C77E 0%, #C8A04A 55%, #A9812F 100%);
  --serif: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sec: clamp(40px, 4.6vw, 66px);
  --sec-band: clamp(52px, 5.6vw, 80px);
  --head-gap: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 560px) { :root :is(.sh-topbar, .sh-header, .sh-drawer, .sh-float) { --gutter: 18px; } }

/* Gỡ kiểu mặc định của theme cũ bên trong đầu trang */
:root :is(.sh-topbar, .sh-header, .sh-drawer, .sh-float) { font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.65; letter-spacing: .005em; color: var(--text); -webkit-font-smoothing: antialiased; text-align: left; }
:where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) *, :where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) *::before, :where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) *::after { box-sizing: border-box; }
:root :where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) :is(p, ul, li, h1, h2, h3, h4, figure, details, summary) { margin: 0; padding: 0; list-style: none; }
:root :where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) img { display: block; max-width: 100%; height: auto; vertical-align: middle; opacity: 1; }
:root :where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) a { color: inherit; text-decoration: none; }
:root :where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; cursor: pointer; margin: 0; padding: 1px 6px; min-height: 0; line-height: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; }
:root :where(.sh-topbar, .sh-header, .sh-drawer, .sh-float) :focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
:root :where(.sh-drawer) summary { list-style: none; }
:root :where(.sh-drawer) summary::-webkit-details-marker { display: none; }

:root .sh-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:root .sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--gold); border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
:root .sh-btn--gold { background: var(--gold); color: #141210; }
:root .sh-btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
:root .sh-btn--ghost { color: var(--ivory); border-color: rgba(244, 239, 230, .35); }
:root .sh-btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
:root .sh-btn svg { width: 16px; height: 16px; }
:root .sh-topbar {
  border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted); letter-spacing: .04em;
}
:root .sh-topbar .sh-wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 24px; }
:root .sh-topbar a:hover { color: var(--gold-2); }
:root .sh-topbar__right { display: flex; gap: 22px; }
:root .sh-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 24, 28, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
:root .sh-header.is-scrolled { background: rgba(22, 24, 28, .94); border-bottom-color: var(--line); }
:root .sh-header .sh-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
:root .sh-brand { display: flex; flex-direction: column; line-height: 1; }
:root .sh-brand__name { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .16em; color: var(--ivory); }
:root .sh-brand__name span { color: var(--gold); }
:root .sh-brand__tag { font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
:root .sh-header .sh-wrap { position: relative; }
:root .sh-nav { display: flex; align-self: stretch; gap: 34px; }
:root .sh-nav__item { display: flex; align-items: center; }
:root .sh-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text); font-weight: 400; padding: 8px 0; transition: color .3s;
}
:root .sh-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
:root .sh-nav__item:hover .sh-nav__link, :root .sh-nav__item:focus-within .sh-nav__link { color: var(--ivory); }
:root .sh-nav__item:hover .sh-nav__link::after, :root .sh-nav__item:focus-within .sh-nav__link::after { transform: scaleX(1); }
:root .sh-nav__chev { width: 10px; height: 10px; color: var(--gold); transition: transform .4s var(--ease); }
:root .sh-nav__item:hover .sh-nav__chev, :root .sh-nav__item:focus-within .sh-nav__chev { transform: rotate(180deg); }
:root .sh-mega {
  position: absolute; top: 100%; left: 50%; z-index: 5;
  width: min(900px, calc(100% - 2 * var(--gutter)));
  display: grid; grid-template-columns: 250px 1fr;
  background: linear-gradient(180deg, #1F2126 0%, #1A1C21 100%);
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.75);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
}
:root .sh-mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-2) 50%, var(--gold) 80%, transparent); }
:root .sh-mega--1 { width: min(560px, calc(100% - 2 * var(--gutter))); }
:root .sh-nav__item:hover .sh-mega, :root .sh-nav__item:focus-within .sh-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
:root .sh-mega__brand {
  display: flex; flex-direction: column; padding: 36px 32px; border-right: 1px solid var(--line);
  background: radial-gradient(120% 90% at 0% 0%, rgba(200,160,74,.10), transparent 60%);
}
:root .sh-mega__eyebrow { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
:root .sh-mega__title { font-family: var(--serif); font-size: 40px; line-height: 1.05; color: var(--ivory); margin: 10px 0 10px; }
:root .sh-mega__note { font-size: 13px; color: var(--muted); line-height: 1.55; }
:root .sh-mega__count { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); }
:root .sh-mega__all {
  margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
}
:root .sh-mega__all svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
:root .sh-mega__all:hover svg { transform: translateX(4px); }
:root .sh-mega__cols { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 32px 30px 34px; }
:root .sh-mega__col { display: flex; flex-direction: column; }
:root .sh-mega__group {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
  padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
:root .sh-mega__col a {
  position: relative; font-family: var(--serif); font-size: 17px; color: var(--text);
  padding: 7px 0 7px 0; transition: color .3s, padding .35s var(--ease);
}
:root .sh-mega__col a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease); }
:root .sh-mega__col a:hover { color: var(--gold-2); padding-left: 18px; }
:root .sh-mega__col a:hover::before { width: 10px; }
:root .sh-header__cta { display: flex; align-items: center; gap: 14px; }
:root .sh-header__phone { text-align: right; line-height: 1.2; }
:root .sh-header__phone small { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
:root .sh-header__phone strong { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--gold-2); letter-spacing: .04em; }
:root .sh-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
:root .sh-menu-btn span, :root .sh-menu-btn span::before, :root .sh-menu-btn span::after { display: block; width: 22px; height: 1px; background: var(--ivory); position: relative; transition: transform .3s; }
:root .sh-menu-btn span::before, :root .sh-menu-btn span::after { content: ""; position: absolute; left: 0; }
:root .sh-menu-btn span::before { top: -7px; }
:root .sh-menu-btn span::after { top: 7px; }
:root .sh-float { position: fixed; right: 20px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
:root .sh-float a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(21,21,24,.9); border: 1px solid var(--line-strong); color: var(--gold-2);
  box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .3s var(--ease), background .3s, color .3s;
}
:root .sh-float a:hover { transform: translateY(-3px); background: var(--gold); color: #141210; }
:root .sh-float a.is-call { background: var(--gold); color: #141210; }
:root .sh-float svg { width: 20px; height: 20px; }
:root .sh-float .zalo { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .02em; }
:root .sh-float__txt { display: none; }
:root .sh-float__zalo { font-weight: 700; }
:root .sh-drawer {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
  background: radial-gradient(120% 50% at 100% 0%, rgba(200,160,74,.12), transparent 60%), #0F1013;
  visibility: hidden; opacity: 0; transform: translateX(24px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
:root .sh-drawer.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s; }
:root .sh-drawer__top { flex: none; display: flex; justify-content: space-between; align-items: center; height: 68px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
:root .sh-drawer__brand { display: flex; flex-direction: column; line-height: 1; }
:root .sh-drawer__brand .sh-brand__name { font-size: 22px; }
:root .sh-drawer__close {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold-2); transition: background .3s, color .3s, transform .4s var(--ease);
}
:root .sh-drawer__close:hover { background: var(--gold); color: #141210; transform: rotate(90deg); }
:root .sh-drawer__close svg { width: 18px; height: 18px; }
:root .sh-drawer__body { flex: 1; overflow-y: auto; padding: 22px var(--gutter) 28px; overscroll-behavior: contain; }
:root .sh-drawer__label { display: flex; align-items: center; gap: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
:root .sh-drawer__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
:root .sh-drawer__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; }
:root .sh-drawer__cat { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #1A1C21; }
:root .sh-drawer__cat img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; object-position: 50% 58%; }
:root .sh-drawer__cat span { font-family: var(--serif); font-size: 16px; color: var(--ivory); padding: 8px 10px 0; line-height: 1.2; }
:root .sh-drawer__cat small { font-size: 10.5px; color: var(--muted); padding: 2px 10px 10px; letter-spacing: .04em; }
:root .sh-drawer__cat:active, :root .sh-drawer__cat:hover { border-color: var(--gold); }
:root .sh-drawer__nav { display: flex; flex-direction: column; margin-bottom: 26px; border-top: 1px solid var(--line); }
:root .sh-drawer__link {
  display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none;
  padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--ivory);
}
:root .sh-drawer__link::-webkit-details-marker { display: none; }
:root .sh-drawer__ico {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--gold-2);
  border: 1px solid var(--line-strong); background: radial-gradient(circle at 30% 25%, rgba(200,160,74,.22), rgba(200,160,74,.04) 70%);
  transition: background .3s, color .3s;
}
:root .sh-drawer__acc[open] .sh-drawer__ico { background: var(--gold-grad); color: #17130c; border-color: transparent; }
:root .sh-drawer__name { font-family: var(--serif); font-size: 23px; line-height: 1.1; flex: 1; }
:root .sh-drawer__cnt { font-size: 11px; letter-spacing: .08em; color: var(--muted); }
:root .sh-drawer__link > svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
:root .sh-drawer__link .sh-nav__chev { width: 12px; height: 12px; transition: transform .35s var(--ease); }
:root .sh-drawer__acc[open] > .sh-drawer__link { color: var(--gold-2); border-bottom-color: transparent; }
:root .sh-drawer__acc[open] .sh-nav__chev { transform: rotate(180deg); }
:root .sh-drawer__sub { padding: 2px 0 18px 52px; border-bottom: 1px solid var(--line); animation: drawerIn .4s var(--ease) both; }
:root .sh-drawer__group { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 10px 0 8px; }
:root .sh-drawer__pills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
:root .sh-drawer__pills a {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 38px; padding: 6px 10px 6px 12px; border-radius: 3px;
  font-size: 13.5px; color: var(--text); background: rgba(255,255,255,.025); border: 1px solid var(--line);
}
:root .sh-drawer__pills svg { width: 12px; height: 12px; color: var(--gold); flex: none; opacity: .8; }
:root .sh-drawer__pills a:active, :root .sh-drawer__pills a:hover { border-color: var(--gold); color: var(--gold-2); }
:root .sh-drawer__sub .sh-drawer__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
:root .sh-drawer__all svg { width: 14px; height: 14px; }
:root .sh-drawer__services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 26px; }
:root .sh-drawer__services a {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02);
  font-size: 13.5px; font-weight: 500; color: var(--text);
}
:root .sh-drawer__services svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
:root .sh-drawer__services a:active, :root .sh-drawer__services a:hover { border-color: var(--gold); color: var(--gold-2); }
:root .sh-drawer__contact {
  padding: 20px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: radial-gradient(120% 120% at 0% 0%, rgba(200,160,74,.12), transparent 60%), #1A1C21;
}
:root .sh-drawer__contact .sh-drawer__label { margin-bottom: 8px; }
:root .sh-drawer__phone { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--gold-2); letter-spacing: .02em; line-height: 1.2; }
:root .sh-drawer__phone--sub { font-size: 20px; color: var(--text); margin-top: 2px; }
:root .sh-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 12px; }
:root .sh-drawer__actions .sh-btn { height: 46px; padding: 0 10px; font-size: 12px; letter-spacing: .1em; gap: 8px; }
:root .sh-drawer__actions .sh-btn svg { width: 16px; height: 16px; }
:root .sh-drawer__actions .sh-btn:hover svg { transform: none; }
:root .sh-drawer__addr { margin: 0; font-size: 12.5px; color: var(--muted); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
:root .sh-drawer.is-open .sh-drawer__body > * { animation: drawerIn .55s var(--ease) both; }
:root .sh-drawer.is-open .sh-drawer__body > :nth-child(2) { animation-delay: .04s; }
:root .sh-drawer.is-open .sh-drawer__body > :nth-child(3) { animation-delay: .08s; }
:root .sh-drawer.is-open .sh-drawer__body > :nth-child(4) { animation-delay: .12s; }
:root .sh-drawer.is-open .sh-drawer__body > :nth-child(5) { animation-delay: .16s; }
:root .sh-drawer.is-open .sh-drawer__body > :nth-child(6) { animation-delay: .2s; }
:root .sh-drawer.is-open .sh-drawer__body > :nth-child(7) { animation-delay: .24s; }
@media (max-width: 1100px) {
  :root .sh-nav { gap: 24px; }
  :root .sh-nav__link { letter-spacing: .14em; }
  :root .sh-header__phone { display: none; }
}
@media (max-width: 900px) {
  :root .sh-topbar { display: none; }
  :root .sh-nav, :root .sh-header__cta .sh-btn { display: none; }
  :root .sh-menu-btn { display: inline-flex; }
  :root .sh-header .sh-wrap { height: 64px; }
  :root .sh-brand__name { font-size: 24px; }
}
@media (max-width: 560px) {
  :root .sh-btn { height: 48px; padding: 0 20px; letter-spacing: .14em; }
  :root .sh-float { right: 14px; bottom: 16px; }
  :root .sh-float a { width: 48px; height: 48px; }
}
@media (max-width: 560px) {
  :root .sh-float {
    left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0;
    background: rgba(22,24,28,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-strong); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  :root .sh-float a, :root .sh-float a.is-call {
    width: auto; height: 46px; flex: 1 1 0; border-radius: 3px; gap: 8px; box-shadow: none;
    display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--text);
  }
  :root .sh-float a + a { margin-left: 8px; }
  :root .sh-float a.is-call { flex: 1.6 1 0; background: var(--gold); color: #141210; }
  :root .sh-float a:hover { transform: none; }
  :root .sh-float svg { width: 17px; height: 17px; }
  :root .sh-float__txt { display: inline; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; }
  :root .sh-float .zalo { font-weight: 400; }
  :root .sh-float__zalo {
    width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
    background: var(--gold); color: #141210; font-size: 0;
  }
  :root .sh-float__zalo::before { content: "Z"; font-size: 12px; font-weight: 700; }
}
:root .sh-btn {
  position: relative; overflow: hidden; isolation: isolate;
  height: 50px; padding: 0 26px; gap: 12px; border-radius: 2px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; line-height: 1;
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
:root .sh-btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
:root .sh-btn:hover svg { transform: translateX(4px); }
:root .sh-btn--gold {
  background: var(--gold-grad); border-color: transparent; color: #17130c;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -12px rgba(200,160,74,.55);
}
:root .sh-btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
:root .sh-btn--gold:hover { background: var(--gold-grad); color: #17130c; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 16px 30px -14px rgba(200,160,74,.7); }
:root .sh-btn--gold:hover::after { transform: translateX(120%); }
:root .sh-btn--ghost { color: var(--ivory); border-color: rgba(200,160,74,.5); background: rgba(200,160,74,.04); }
:root .sh-btn--ghost:hover { color: var(--gold-2); border-color: var(--gold); background: rgba(200,160,74,.1); }
:root .sh-nav__link { font-size: 12.5px; letter-spacing: .16em; font-weight: 500; }
@media (max-width: 560px) {
  :root .sh-btn { height: 48px; padding: 0 16px; font-size: 12px; letter-spacing: .1em; }
  :root .sh-float__txt { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
  :root .sh-float a.is-call { background: var(--gold-grad); }
}
:root .blogo {
  display: inline-block; flex: none; height: 1em; background: var(--gold-grad);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  transition: background .3s;
}
:root .blogo--nav { height: 17px; margin-right: 2px; }
:root .sh-nav__link { gap: 9px; }
:root .sh-nav__link--logo { padding: 8px 0 6px; }
:root .blogo--word { height: 22px; }
:root .sh-nav__item:hover .blogo, :root .sh-nav__item:focus-within .blogo { background: linear-gradient(135deg, #f3e2bb, #d9bd86); }
:root .sh-mega__logo { display: flex; align-items: flex-end; height: 64px; margin: 14px 0 12px; }
:root .sh-mega__logo .blogo { height: 100%; max-width: 100%; }
:root .sh-mega__logo .blogo[style*="yamaha-full"] { height: 30px; }
:root .sh-mega__logo .blogo[style*="vespa-full"] { height: 40px; }
:root .sh-drawer__ico {
  flex: none; width: 54px; height: 40px; border-radius: 6px; display: grid; place-items: center; padding: 7px;
  border: 1px solid var(--line-strong); background: radial-gradient(circle at 30% 25%, rgba(200,160,74,.16), rgba(200,160,74,.03) 70%);
  transition: background .3s, border-color .3s;
}
:root .sh-drawer__ico .blogo { height: 100%; max-width: 100%; }
:root .sh-drawer__ico .blogo[style*="vespa"] { height: 16px; }
:root .sh-drawer__acc[open] .sh-drawer__ico { background: var(--gold-grad); border-color: transparent; }
:root .sh-drawer__acc[open] .sh-drawer__ico .blogo { background: #17130c; }
:root .sh-drawer__sub { padding-left: 68px; }
:root .sh-brand__name { font-family: var(--serif); font-weight: 800; letter-spacing: .1em; }
:root .sh-brand__name { font-size: 25px; }
:root .sh-nav__link { font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
:root .sh-btn { font-family: var(--serif); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
:root .sh-mega__all, :root .sh-drawer__all { font-family: var(--serif); font-weight: 700; letter-spacing: .1em; }
:root .sh-drawer__label, :root .sh-mega__eyebrow, :root .sh-mega__group { font-family: var(--serif); font-weight: 700; letter-spacing: .18em; }
:root .sh-drawer__phone, :root .sh-header__phone strong { font-family: var(--serif); font-weight: 700; }
:root .sh-mega__col a, :root .sh-drawer__name { font-family: var(--serif); font-weight: 600; }
:root .sh-drawer__name { font-size: 22px; }
:root .sh-mega__col a { font-size: 16px; }
:root .sh-float__txt { font-family: var(--serif); font-weight: 700; letter-spacing: .04em; }
@media (max-width: 560px) {
  :root .sh-brand__name { font-size: 22px; }
  :root .sh-btn { font-size: 13px; letter-spacing: .06em; }
  :root .sh-float__txt { font-size: 13px; }
}
:root .sh-topbar { background: #0F1013; }
:root .sh-header { background: rgba(22,24,28,.86); }
:root .sh-header.is-scrolled { background: rgba(22,24,28,.97); }
:root .sh-btn--ghost svg { width: 16px; height: 16px; }
:root .sh-btn--ghost:hover svg { transform: none; }
:root .sh-btn { border-radius: 999px; padding: 0 28px; letter-spacing: .06em; }
:root .sh-btn--gold { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 28px -14px rgba(200,160,74,.6); }
:root .sh-drawer__actions .sh-btn { border-radius: 999px; }
:root .sh-drawer__cat,
:root .sh-drawer__services a,
:root .sh-drawer__contact,
:root .sh-mega { border-radius: 18px; }
:root .sh-mega { border-radius: 0 0 18px 18px; }
:root .sh-drawer__pills a { border-radius: 12px; }
:root .sh-drawer__ico { border-radius: 12px; }
@media (max-width: 560px) {
  :root .sh-float { border-radius: 20px 20px 0 0; }
  :root .sh-float a, :root .sh-float a.is-call { border-radius: 14px; }
  :root .sh-btn { padding: 0 18px; }
}
:root .sh-drawer__name, :root .sh-mega__note { text-wrap: balance; }
@media (max-width: 560px) {
  :root .sh-float a, :root .sh-float a.is-call { min-width: 0; }
  :root .sh-float__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
  :root .sh-float { padding-left: 8px; padding-right: 8px; }
  :root .sh-float a + a { margin-left: 6px; }
  :root .sh-float a, :root .sh-float a.is-call { gap: 6px; }
  :root .sh-float__txt { font-size: 11.5px; letter-spacing: 0; }
  :root .sh-float svg { width: 15px; height: 15px; }
  :root .sh-float__zalo { width: 20px; height: 20px; }
}
:root .sh-brand { flex-direction: row; align-items: center; gap: 12px; }
:root .sh-brand__mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); transition: transform .5s var(--ease); }
:root .sh-brand:hover .sh-brand__mark { transform: rotate(-8deg) scale(1.04); }
:root .sh-brand__text { display: flex; flex-direction: column; line-height: 1; }
:root .sh-drawer__brand .sh-brand__mark { width: 40px; height: 40px; }
@media (max-width: 900px) {
  :root .sh-brand__mark { width: 40px; height: 40px; }
  :root .sh-brand { gap: 10px; }
}
@media (max-width: 560px) {
  :root .sh-brand__mark { width: 36px; height: 36px; }
  :root .sh-brand__name { font-size: 20px; }
}
:root .sh-nav__link { white-space: nowrap; }
@media (max-width: 1180px) {
  :root .sh-nav { gap: 20px; }
}
@media (max-width: 1024px) {
  :root .sh-nav, :root .sh-header__cta .sh-btn { display: none; }
  :root .sh-menu-btn { display: inline-flex; }
}

/* Điện thoại: chừa chỗ cho thanh liên hệ cố định ở đáy màn hình */
@media (max-width: 560px) { body { padding-bottom: 64px; } }

/* ---------- Giờ mở cửa (tự đổi theo giờ Việt Nam) + chỉ đường ---------- */
:root .sh-topbar__left { display: flex; align-items: center; gap: 18px; min-width: 0; }
:root .sh-open { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
:root .sh-open b { font-weight: 600; color: #D9D3C8; }
:root .sh-open i { width: 8px; height: 8px; border-radius: 50%; background: #8D877C; flex: none; }
:root .sh-open.is-open i { background: #4CAF50; box-shadow: 0 0 0 3px rgba(76,175,80,.22); }
:root .sh-open.is-open b { color: #A8DCA9; }
:root .sh-open.is-soon i { background: #E0A43A; box-shadow: 0 0 0 3px rgba(224,164,58,.22); }
:root .sh-open.is-soon b { color: #F1C988; }
:root .sh-open.is-closed i { background: #C8584A; }
:root .sh-topbar__map { display: inline-flex; align-items: center; gap: 5px; color: var(--gold-2); white-space: nowrap; }
:root .sh-topbar__map svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  /* điện thoại: dải mỏng chỉ có trạng thái mở cửa + nút chỉ đường */
  :root .sh-topbar { display: block; }
  :root .sh-topbar .sh-wrap { height: 34px; }
  :root .sh-topbar__addr, :root .sh-topbar__right { display: none; }
  :root .sh-topbar__left { width: 100%; justify-content: space-between; }
  :root .sh-open { font-size: 12.5px; }
  :root .sh-topbar__map { min-height: 34px; font-size: 12.5px; font-weight: 600; }
}

/* Thông báo nhỏ dùng chung (đã chép lời nhắn Zalo…) */
.td-toast { position: fixed; left: 50%; bottom: 90px; z-index: 300; width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: #F3EEE4; color: #16181C;
  font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.45); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.td-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 901px) { .td-toast { bottom: 32px; } }
