/* ==========================================================================
   Hưng Thịnh — Máy đếm tiền · Theme UI v5
   Direction: "Kho quỹ chính xác" — ink navy ground, brass gold reserved for the
   primary action, hairline rules, tabular figures, 4px corners, no gradients.
   ========================================================================== */

:root {
  --ink: #0B1F3A;
  --ink-deep: #08172C;
  --navy: #13315C;
  --navy-line: #22395C;
  --navy-soft: #2E4566;
  --gold: #E9A80F;
  --gold-hover: #F2B92B;
  --gold-dark: #9A6B00;
  --gold-tint: #FDF3D7;
  --gold-text: #E9C46A;
  --paper: #FFFFFF;
  --surface: #F3F4F6;
  --surface-2: #E9ECF0;
  --line: #E3E6EB;
  --line-strong: #C9CFD8;
  --text: #0B1F3A;
  --text-body: #2B3645;
  --muted: #5A6473;
  --muted-light: #7A8494;
  --on-dark: #C9D2E0;
  --on-dark-muted: #9FB0C8;
  --sale: #C2410C;
  --sale-tint: #FDEDE6;
  --ok: #15803D;
  --ok-tint: #E8F5EC;
  --warn: #9A6B00;
  --link: #1D4E89;
  --focus: #1D5FD1;
  --led: #FF5A3C;
  --led-ground: #111418;
  --radius: 4px;
  --radius-sm: 2px;
  --container: 1280px;
  --gutter: 24px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-collapse: 126px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; border-style: none; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
del { color: var(--muted-light); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--ink); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.ht-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }

/* ---------- Shared atoms ---------- */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow-gold { color: var(--gold-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius);
  border: 1px solid transparent; background: var(--paper); color: var(--ink);
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn .ht-icon { width: 19px; height: 19px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: #4A6288; color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.link-more .ht-icon { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.link-more:hover { color: var(--ink); }
.link-more:hover .ht-icon { transform: translateX(3px); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 19px; background: var(--paper);
  color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.chip small { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active small { color: var(--on-dark-muted); }

.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 8px; }
.section-head h2 { font-size: 30px; }
.section-head p { color: var(--muted); font-size: 15px; }

.led-panel {
  background: var(--led-ground); border: 1px solid #2A2F36; border-radius: 0 0 var(--radius) var(--radius);
  padding: 18px 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.led-panel > div { display: flex; flex-direction: column; gap: 2px; }
.led-value {
  font-size: 32px; line-height: 1.05; font-weight: 700; color: var(--led);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
  text-shadow: 0 0 14px rgba(255, 90, 60, .28);
}
.led-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9AA4B2; }

.empty-state {
  grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper);
}
.empty-state strong { font-size: 20px; color: var(--ink); }
.empty-state p { color: var(--muted); max-width: 440px; }
.empty-state-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
}
.empty-state-icon .ht-icon { width: 26px; height: 26px; }
.empty-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: calc(var(--header-collapse) * -1); z-index: 60; background: var(--ink); }
@media (min-width: 783px) { .admin-bar .site-header { top: calc(var(--header-collapse) * -1 + 32px); } }

.utility-bar { background: var(--ink-deep); color: var(--on-dark); font-size: 13px; }
.utility-inner { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-company { color: var(--gold-text); font-weight: 600; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-meta { list-style: none; display: flex; gap: 24px; white-space: nowrap; }
.utility-meta li { display: inline-flex; align-items: center; gap: 8px; }
.utility-meta .ht-icon { width: 16px; height: 16px; color: var(--gold); }

.header-main { background: var(--ink); }
.header-main-inner { height: 88px; display: flex; align-items: center; gap: 32px; }
.brand { flex-shrink: 0; display: block; line-height: 0; }
.brand img { width: 224px; height: auto; }
.header-search-wrap { flex: 1 1 auto; min-width: 0; position: relative; }
.header-search { display: flex; height: 48px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.header-search input[type="search"] {
  flex: 1 1 auto; min-width: 0; border: 0; padding: 0 18px; font-size: 15px; color: var(--ink); background: transparent;
}
.header-search input[type="search"]::placeholder { color: var(--muted-light); }
.header-search input[type="search"]:focus { outline: none; }
.header-search:focus-within { box-shadow: 0 0 0 2px var(--gold); }
.header-search input[aria-invalid="true"] { background: var(--sale-tint); }
.header-search button {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0 22px;
  background: var(--gold); color: var(--ink); font-size: 15px; font-weight: 700;
}
.header-search button:hover { background: var(--gold-hover); }
.header-search-error { position: absolute; left: 0; top: calc(100% + 6px); font-size: 13px; color: #FFB4A0; font-weight: 500; }
.page-hero .header-search-error, .error-copy .header-search-error { position: static; display: block; margin-top: 8px; color: var(--sale); }

.header-hotline { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.header-hotline-icon {
  width: 44px; height: 44px; border: 1px solid var(--navy-soft); border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center; color: var(--gold);
}
.header-hotline > div { display: flex; flex-direction: column; line-height: 1.25; }
.header-hotline small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 2px; }
.header-hotline a { color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; font-variant-numeric: tabular-nums; }
.header-hotline a:hover { color: var(--gold-text); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-icon-btn, .menu-toggle {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy-soft); border-radius: var(--radius); background: transparent; color: #fff; text-decoration: none;
}
.header-icon-btn:hover, .menu-toggle:hover { border-color: #fff; color: #fff; }
.header-call { display: none; color: var(--gold); }
.menu-toggle { display: none; }
.menu-toggle span { display: none; }
.header-cart {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px;
  border: 1px solid var(--navy-soft); border-radius: var(--radius); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
}
.header-cart:hover { border-color: #fff; color: #fff; }
.header-cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
}

/* Primary navigation (desktop) */
.main-nav { background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.site-header.is-scrolled .main-nav { box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(11, 31, 58, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-drawer-head, .nav-drawer-contact { display: none; }
.primary-menu { list-style: none; display: flex; align-items: stretch; }
.primary-menu > li { position: relative; display: flex; align-items: center; }
.primary-menu > li > a {
  display: inline-flex; align-items: center; height: 54px; padding: 0 16px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.primary-menu > li:first-child > a { padding-left: 0; }
.primary-menu > li > a:hover { color: var(--navy); }
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a,
.primary-menu > .current-menu-parent > a { box-shadow: inset 0 -3px 0 var(--gold); }
.primary-menu > .menu-item-has-children > a { padding-right: 4px; }
.submenu-toggle {
  width: 28px; height: 54px; border: 0; background: none; color: var(--muted); padding: 0;
  display: inline-flex; align-items: center; justify-content: center; margin-right: 6px;
}
.submenu-toggle .ht-icon { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.primary-menu .sub-menu {
  list-style: none; position: absolute; left: 0; top: 100%; z-index: 70; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 32px rgba(11, 31, 58, .12); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s;
}
.primary-menu .menu-products > .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 520px; column-gap: 4px; }
.primary-menu .sub-menu a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-body);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu .current-menu-item > a { background: var(--surface); color: var(--ink); }
@media (min-width: 981px) {
  /* With JS, hover intent (.is-hover) drives the dropdowns: one open at a time.
     Plain :hover remains the no-JS fallback. */
  html:not(.has-js) .primary-menu > li:hover > .sub-menu,
  .primary-menu > li.is-hover > .sub-menu,
  .primary-menu:not(.is-hovering) > li:focus-within > .sub-menu,
  .primary-menu:not(.is-hovering) > li.submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .primary-menu.is-hovering > li:not(.is-hover) > .sub-menu { transition: none; }
  html:not(.has-js) .primary-menu > li:hover > .submenu-toggle .ht-icon,
  .primary-menu > li.is-hover > .submenu-toggle .ht-icon,
  .primary-menu:not(.is-hovering) > li.submenu-open > .submenu-toggle .ht-icon { transform: rotate(180deg); }
  /* The gold highlight follows the pointer and returns to the current page's item on leave. */
  .primary-menu.is-hovering > li > a { box-shadow: none; }
  .primary-menu.is-hovering > li.is-hover > a { box-shadow: inset 0 -3px 0 var(--gold); color: var(--ink); }
}
.nav-benefits { list-style: none; display: flex; gap: 22px; font-size: 13px; font-weight: 500; color: var(--text-body); white-space: nowrap; }
.nav-benefits li { display: inline-flex; align-items: center; gap: 8px; }
.nav-benefits .ht-icon { color: var(--gold-dark); width: 18px; height: 18px; }
/* The homepage trust strip already states these promises right below the banner. */
@media (min-width: 981px) { body.home .nav-benefits { display: none; } }
.nav-backdrop { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 14px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-cta { border-bottom: 1px solid var(--navy-line); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px var(--gutter); }
.footer-cta-copy { display: flex; flex-direction: column; gap: 8px; }
.footer-cta-copy h2 { color: #fff; font-size: 30px; }
.footer-cta-copy p { font-size: 16px; max-width: 620px; }
.footer-cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.site-footer .btn-gold { color: var(--ink); }
.site-footer .btn-outline-light { color: #fff; }

.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo img { width: 220px; }
.footer-brand p { line-height: 1.7; max-width: 340px; }
.footer-brand-note { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); font-weight: 600; font-size: 13px; }
.footer-brand-note .ht-icon { width: 18px; height: 18px; }
.footer-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: default; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary .ht-icon { display: none; }
.footer-col h3, .footer-contact h3 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { display: inline-block; padding: 2px 0; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact h3 { margin-bottom: 4px; }
.footer-contact > a { display: flex; flex-direction: column; line-height: 1.35; }
.footer-contact small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-contact > a strong { color: #fff; font-size: 17px; font-variant-numeric: tabular-nums; }
.footer-contact > a.is-email strong { font-size: 14px; font-weight: 600; word-break: break-all; }
.footer-hours { display: flex; gap: 10px; align-items: flex-start; }
.footer-hours .ht-icon { color: var(--gold); margin-top: 2px; }
.footer-hours span { display: flex; flex-direction: column; }
.footer-hours strong { color: #fff; }

.footer-directory { padding-bottom: 44px; }
.footer-directory-disclosure > summary {
  list-style: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; cursor: default;
}
.footer-directory-disclosure > summary::-webkit-details-marker { display: none; }
.footer-directory-disclosure > summary > .ht-icon { display: none; }
.footer-directory-title { display: flex; flex-direction: column; gap: 4px; }
.footer-directory-title h3 { color: #fff; font-size: 18px; }
.footer-directory-hint { color: var(--on-dark-muted); font-size: 13px; }
.footer-location-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden;
}
.footer-location-list article { background: var(--ink); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.footer-location-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.footer-location-title h4 { color: #fff; font-size: 15px; letter-spacing: 0; }
.footer-location-title span { color: var(--gold-text); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.footer-location-list p { line-height: 1.5; font-size: 13px; flex-grow: 1; }
.footer-location-list a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; min-height: 32px; }
.footer-location-list a .ht-icon { width: 16px; height: 16px; color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--navy-line); }
.footer-bottom-inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; padding-top: 12px; padding-bottom: 12px; }
.footer-bottom strong { color: #fff; font-weight: 600; }

/* Floating contact + popup */
.floating-contact-shell { position: fixed; right: 24px; bottom: 24px; z-index: 80; }
.ht-contact-launcher {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  border: 0; border-radius: 26px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 24px rgba(11, 31, 58, .28); transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.ht-contact-launcher .ht-icon { color: var(--gold); }
.ht-contact-launcher:hover { background: var(--navy); }
.floating-contact-shell.is-footer-visible .floating-contact,
.floating-contact-shell.is-form-visible .floating-contact { opacity: 0; transform: translateY(12px); pointer-events: none; }
.ht-contact-popup-backdrop {
  position: fixed; inset: 0; border: 0; background: rgba(8, 23, 44, .44); opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), visibility 0s .2s; z-index: 81;
}
.ht-contact-popup-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.ht-contact-popup {
  position: fixed; right: 24px; bottom: 92px; z-index: 82; width: min(380px, calc(100vw - 32px));
  background: #fff; border-radius: var(--radius); box-shadow: 0 20px 48px rgba(11, 31, 58, .28); padding: 22px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.ht-contact-popup.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ht-contact-popup header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ht-contact-popup header small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.ht-contact-popup h2 { font-size: 20px; margin-top: 4px; }
.ht-contact-popup > p { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.ht-contact-popup-close {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ht-contact-popup-actions { display: grid; gap: 8px; }
.ht-contact-popup-actions a {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; min-height: 60px; transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.ht-contact-popup-actions a:hover { border-color: var(--ink); background: var(--surface); }
.ht-contact-popup-actions img { width: 40px; height: 40px; object-fit: contain; }
.ht-contact-popup-actions a > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.ht-contact-popup-actions b { font-size: 15px; }
.ht-contact-popup-actions small { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ht-support-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.mobile-dock { display: none; }
.back-to-top {
  position: fixed; right: 24px; bottom: 88px; z-index: 79; width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { border-color: var(--ink); }
body.contact-popup-open .back-to-top { opacity: 0; visibility: hidden; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s var(--ease); container-type: inline-size;
}
@container (max-width: 250px) {
  .card-call { width: 42px; padding: 0; flex-shrink: 0; }
  .card-call span { display: none; }
  .card-detail { font-size: 13px; padding: 0 8px; }
  .product-badge small { display: none; }
}
.product-card:hover { border-color: var(--line-strong); }
.product-thumb {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden;
}
.product-thumb img {
  width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform .35s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-badges { position: absolute; left: 12px; top: 12px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.product-badge {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 8px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; line-height: 1.3; color: #fff; background: var(--ink); font-variant-numeric: tabular-nums;
}
.product-badge small { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.badge-sale { background: var(--sale); }
.badge-promo { background: var(--gold); color: var(--ink); }
.badge-new { background: var(--ok); }
.product-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex-grow: 1; }
.product-category {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-title { font-size: 16px; font-weight: 600; line-height: 1.38; letter-spacing: 0; min-height: calc(1.38em * 2); }
.product-title a {
  color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.product-title a:hover { color: var(--navy); }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; min-height: 30px; }
.price-current { font-size: 20px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.product-price del { font-size: 13px; font-variant-numeric: tabular-nums; }
.price-contact { font-size: 18px; font-weight: 700; color: var(--navy); }
.product-actions { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-detail {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.card-detail:hover { background: var(--ink); color: #fff; }
.card-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 12px;
  border-radius: var(--radius); background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none;
}
.card-call:hover { background: var(--gold-hover); color: var(--ink); }
.card-call .ht-icon { width: 17px; height: 17px; }
.stock-line {
  position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px;
  border-top: 1px solid #EEF0F3; padding-top: 10px; margin-top: 4px; font-size: 12px; color: var(--muted);
}
.stock-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.stock-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.is-instock { color: var(--ok); }
.is-outofstock { color: var(--sale); }
.is-backorder { color: var(--warn); }
.is-unknown { color: var(--muted); }

/* ==========================================================================
   Home
   ========================================================================== */
/* Original banners: native aspect ratio, never cropped or stretched. */
.home-banners { background: var(--ink-deep); }
.banner-stage { position: relative; margin: 0 auto; }
.banner-frame { position: relative; }
.banner-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  border-radius: var(--radius); background: var(--ink); -webkit-overflow-scrolling: touch;
}
.banner-track::-webkit-scrollbar { display: none; }
.has-js .banner-track { cursor: grab; }
.banner-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.banner-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 1815 / 867; scroll-snap-align: center; scroll-snap-stop: always; }
/* JS loop mode: the track becomes a clipped viewport and a rail slides inside it. */
.banner-track.is-looping { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.banner-rail { display: flex; width: 100%; flex-shrink: 0; will-change: transform; backface-visibility: hidden; }
.banner-rail .banner-slide { flex: 0 0 100%; }
.banner-rail.is-settled > .banner-slide:not(.is-current) { visibility: hidden; }
.banner-slide picture, .banner-slide img { display: block; width: 100%; height: 100%; }
.banner-slide img { object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.banner-pagination { display: flex; justify-content: center; align-items: center; }
.banner-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0;
  border-radius: var(--radius); background: transparent; cursor: pointer;
}
.banner-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.65); }
.banner-dot[aria-current="true"]::before { background: var(--gold); }
.banner-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }

.home-promo { padding: 32px 0 0; }
.home-promo--used { padding: 0 0 64px; }
.home-promo-figure { max-width: 860px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.home-promo--used .home-promo-figure { max-width: 1080px; }
.home-promo-figure img { display: block; width: 100%; height: auto; }

.hero-badge {
  position: absolute; left: 20px; top: 20px; background: var(--sale); color: #fff; font-size: 13px; font-weight: 700;
  padding: 5px 10px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .02em;
}
.hero-price-tag {
  position: absolute; right: 20px; bottom: 20px; max-width: calc(100% - 40px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
}
.hero-price-tag small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-price-tag strong { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero-price-tag .price-current { font-size: 22px; }

/* Trust strip: one compact row closing the banner band. */
.home-trust { background: var(--ink); color: #fff; }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--navy-line); }
.trust-list li { min-width: 0; }
.trust-list li + li .trust-item { padding-left: 24px; border-left: 1px solid var(--navy-line); }
.trust-item { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px 20px 20px 0; color: #fff; text-decoration: none; }
.trust-item:hover { color: #fff; }
.trust-icon {
  width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--navy-soft); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--gold); transition: border-color .18s var(--ease);
}
.trust-icon .ht-icon { width: 19px; height: 19px; }
.trust-item:hover .trust-icon { border-color: var(--gold); }
.trust-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trust-copy strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.trust-note { font-size: 13px; color: var(--on-dark-muted); line-height: 1.4; }
.trust-note-short { display: none; }

/* "Chọn máy phù hợp nhu cầu": need groups (left) + today's offer (right). */
.home-finder { padding-bottom: 24px; }
.home-finder-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.finder-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.finder-head h2 { font-size: 30px; }
.finder-head p { font-size: 15px; color: var(--muted); }
.finder-head p a { color: var(--ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.need-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.need-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s var(--ease);
}
.need-card:hover, .need-card:focus-within { border-color: var(--ink); }
.need-card-top { display: flex; justify-content: space-between; align-items: center; }
.need-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius); background: var(--ink); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.need-count { font-size: 12px; font-weight: 700; color: var(--ink); background: var(--surface); border-radius: 12px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.need-card h3 { font-size: 18px; font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.need-link { color: var(--ink); text-decoration: none; }
.need-link::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.need-link:hover { color: var(--ink); }
.need-desc { font-size: 14px; line-height: 1.55; color: var(--muted); min-height: calc(1.55em * 2); }
.need-short, .need-chevron { display: none; }
.need-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #EEF0F3; padding-top: 12px; margin-top: auto; }
.need-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.need-cta .ht-icon { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.need-card:hover .need-cta .ht-icon { transform: translateX(3px); }
.need-chip { position: relative; z-index: 1; min-height: 32px; padding: 0 12px; font-size: 13px; flex-shrink: 0; }

.home-offer { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-offer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.home-offer-head .link-more { font-size: 14px; }
.offer-product {
  position: relative; display: flex; align-items: center; justify-content: center; height: 400px;
  background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; text-decoration: none; overflow: hidden;
}
.offer-product img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.offer-product:hover img { transform: scale(1.03); }
.home-offer .led-panel { margin-top: -14px; }


.home-categories { padding-bottom: 24px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-tile {
  display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color .18s var(--ease);
}
.category-tile:hover { border-color: var(--ink); color: var(--ink); }
.category-tile-media {
  width: 84px; height: 84px; flex-shrink: 0; background: var(--surface); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.category-tile-media img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.category-tile-media .ht-icon { width: 28px; height: 28px; color: var(--muted); }
.category-tile-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.category-tile-copy strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.category-tile-copy small { font-size: 13px; color: var(--muted); }

.home-distribution { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-distribution-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.home-distribution-copy { display: flex; flex-direction: column; gap: 14px; }
.home-distribution-copy h2 { font-size: 30px; }
.home-distribution-copy > p { font-size: 16px; line-height: 1.65; color: var(--text-body); }
.home-used-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; line-height: 1.55;
}
.home-used-note .ht-icon { color: var(--gold-dark); margin-top: 2px; }
.home-used-note strong { color: var(--ink); }
.home-distribution-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.brand-board {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
}
.brand-board a {
  height: 100%; min-height: 78px; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 12px 18px; color: var(--ink); text-decoration: none; transition: background-color .16s var(--ease);
}
.brand-board a:hover { background: var(--gold-tint); }
.brand-board strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.brand-board small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.tab-list {
  display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-list [role="tab"] {
  flex-shrink: 0; min-height: 48px; padding: 0 18px; border: 0; background: none; font-size: 15px; font-weight: 600;
  color: var(--muted); white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; transition: color .16s var(--ease), box-shadow .16s var(--ease);
}
.tab-list [role="tab"]:hover { color: var(--ink); }
.tab-list [role="tab"][aria-selected="true"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); }
.has-js .tab-panel[data-inactive] { display: none; }
.tab-panel + .tab-panel { margin-top: 40px; }
.has-js .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel-title { font-size: 20px; margin-bottom: 16px; }
.has-js .tab-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.tab-panel-more { margin-top: 20px; }

.home-partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-partners-inner { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding-top: 44px; padding-bottom: 48px; }
.home-partners h2 { font-size: 20px; }
.partner-grid {
  list-style: none; flex-grow: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.partner-grid li { background: #fff; height: 84px; display: flex; align-items: center; justify-content: center; padding: 10px 16px; }
.partner-grid img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: none; opacity: 1; }

.home-guides { background: var(--surface); }
.home-guides-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.home-guides-copy { display: flex; flex-direction: column; gap: 12px; }
.home-guides-copy h2 { font-size: 30px; }
.home-guides-copy > p { color: var(--text-body); }
.guide-playlist { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); margin-top: 8px; }
.guide-video-item {
  display: flex; align-items: flex-start; gap: 14px; text-align: left; border: 0; border-bottom: 1px solid var(--line-strong);
  background: none; padding: 16px 0; font-size: 15px; font-weight: 500; color: var(--text-body); min-height: 56px;
}
.guide-index { color: var(--muted-light); font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 1px; }
.guide-title { flex-grow: 1; line-height: 1.45; }
.guide-play { width: 16px; height: 16px; color: var(--muted-light); margin-top: 3px; }
.guide-video-item:hover .guide-title { color: var(--ink); }
.guide-video-item.is-active { color: var(--ink); font-weight: 700; }
.guide-video-item.is-active .guide-index, .guide-video-item.is-active .guide-play { color: var(--gold-dark); }
.guide-video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.guide-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.guide-video-poster { position: absolute; inset: 0; border: 0; padding: 0; background: var(--ink); color: #fff; display: block; width: 100%; }
.guide-video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .2s var(--ease); }
.guide-video-poster:hover img { opacity: .74; }
.guide-play-button {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.guide-play-button .ht-icon { width: 30px; height: 30px; margin-left: 4px; }
.guide-video-poster strong {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; text-align: left; font-size: 16px; font-weight: 600;
  background: linear-gradient(to top, rgba(8, 23, 44, .88), rgba(8, 23, 44, 0));
}

/* News cards (home, blog, related) */
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.news-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.03); }
.news-card-body { display: flex; flex-direction: column; gap: 8px; }
.news-card time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-card h2, .news-card h3 { font-size: 16px; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.news-card h2 a, .news-card h3 a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h2 a::after, .news-card h3 a::after { content: ''; position: absolute; inset: 0; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--navy); }
.news-card p { font-size: 14px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card.no-thumb { border-top: 3px solid var(--gold); padding-top: 14px; }

/* ==========================================================================
   Page hero + breadcrumbs (all inner pages)
   ========================================================================== */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0 36px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs strong { color: var(--ink); font-weight: 600; max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb-sep { color: var(--line-strong); }
.page-hero-copy { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.page-hero h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.page-hero-lead { font-size: 16px; line-height: 1.65; color: var(--text-body); max-width: 680px; }
.page-hero-lead p { margin: 0 0 8px; }
.article-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.article-meta .ht-icon { width: 17px; height: 17px; }

/* ==========================================================================
   Catalog
   ========================================================================== */
.catalog-page { padding: 32px 0 80px; }
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.catalog-sidebar { position: sticky; top: 76px; }
.admin-bar .catalog-sidebar { top: 108px; }
.catalog-filter-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 18px; }
.filter-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.filter-panel-head > div { display: flex; flex-direction: column; gap: 2px; }
.filter-panel-head small { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.filter-panel-head strong { font-size: 18px; color: var(--ink); }
.filter-close {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; flex-shrink: 0;
}
.catalog-filters { display: flex; flex-direction: column; gap: 8px; }
.catalog-filters label { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 8px; }
.catalog-filters label:first-of-type { margin-top: 0; }
.catalog-filters select, .catalog-sort select, .site-sidebar select {
  width: 100%; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 36px 0 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  appearance: none; -webkit-appearance: none; font-size: 14px; color: var(--ink);
}
.catalog-filters select:hover, .catalog-sort select:hover { border-color: var(--ink); }
.filter-submit, .catalog-filters button[type="submit"] {
  margin-top: 14px; min-height: 46px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
}
.filter-submit:hover { background: var(--navy); }
.filter-reset, .catalog-filters a { align-self: center; font-size: 14px; font-weight: 600; color: var(--navy); padding: 8px; }
.catalog-filter-note { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.catalog-filter-note strong { color: var(--ink); }
.catalog-filter-note a { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.catalog-filter-note a .ht-icon { color: var(--gold-dark); }
.catalog-filter-note span { color: var(--muted); }
.filter-backdrop { display: none; }

.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 24px;
}
.catalog-result-count { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.catalog-result-count strong { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.catalog-result-count small { font-size: 13px; color: var(--muted); }
.catalog-toolbar-actions { display: flex; gap: 10px; align-items: center; }
.filter-open { display: none; }
.catalog-sort { display: flex; align-items: center; gap: 10px; }
.catalog-sort label { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.catalog-sort select { width: auto; min-width: 170px; height: 42px; }
.catalog-sort { min-width: 0; }
.catalog-sort select.has-catalog-select, .catalog-filters select.has-catalog-select { display: none; }
.catalog-select { position: relative; width: 100%; min-width: 0; }
.catalog-sort .catalog-select { width: 200px; }
.catalog-select.is-open { z-index: 50; }
.catalog-select-trigger {
  display: block; width: 100%; min-height: 44px; padding: 9px 36px 9px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: var(--ink); font-size: 14px; line-height: 1.5; text-align: left; cursor: pointer;
}
.catalog-select-trigger:hover, .catalog-select-trigger[aria-expanded="true"] { border-color: var(--ink); }
.catalog-select-trigger:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.catalog-select-trigger:disabled { opacity: .5; cursor: default; }
.catalog-select-options {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  list-style: none; margin: 0; padding: 6px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: #fff; color: var(--ink);
  box-shadow: 0 8px 24px rgba(11,31,58,.16);
  max-height: 280px; overflow-y: auto; overscroll-behavior: contain;
}
.catalog-select-options[hidden] { display: none; }
.catalog-select-option {
  display: flex; align-items: center; min-height: 44px; padding: 8px 30px 8px 10px;
  position: relative; border-radius: var(--radius); font-size: 14px; line-height: 1.5; cursor: pointer;
}
.catalog-select-option.is-active { background: var(--surface); outline: 1px solid var(--line-strong); outline-offset: -1px; }
.catalog-select-option[aria-selected="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.catalog-select-option[aria-selected="true"]::after { content: ''; position: absolute; right: 13px; width: 6px; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.catalog-select-option[aria-disabled="true"] { opacity: .5; cursor: default; }
@media (max-width: 980px) {
  .catalog-filters .catalog-select-trigger { font-size: 16px; }
}
@media (max-width: 720px) {
  .catalog-sort .catalog-select { width: 100%; }
  .catalog-sort .catalog-select-trigger { font-size: 16px; }
}
.catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.pagination a.page-numbers:hover { border-color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-numbers.dots { border: 0; min-width: 24px; }

/* ==========================================================================
   Single product
   ========================================================================== */
.product-breadcrumbs { padding-top: 20px; }
.product-breadcrumbs .breadcrumbs { margin-bottom: 0; }
.product-notices { padding-top: 16px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 24px; padding-bottom: 56px; align-items: start; }
.product-gallery-column { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 76px; }
.admin-bar .product-gallery-column { top: 108px; }
.product-gallery {
  position: relative; aspect-ratio: 1 / 1; background: var(--surface); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y;
}
.product-gallery > img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }
.product-gallery-badge {
  position: absolute; left: 16px; top: 16px; background: var(--sale); color: #fff; font-size: 13px; font-weight: 700;
  padding: 5px 10px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .02em; pointer-events: none;
}
.zoom-hint {
  position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff;
  border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); pointer-events: none;
}
.gallery-counter {
  position: absolute; left: 16px; bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 3px 10px;
  font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; pointer-events: none;
}
.product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.product-thumbnails button {
  aspect-ratio: 1 / 1; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.product-thumbnails button:hover { border-color: var(--line-strong); }
.product-thumbnails button.is-active { border: 2px solid var(--ink); padding: 5px; }
.product-thumbnails img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.policy-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.policy-box h2 { font-size: 15px; margin-bottom: 12px; }
.policy-box ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 14px; }
.policy-box li, .summary-promises li, .promise-widget li, .contact-form-points li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.policy-box .ht-icon, .summary-promises .ht-icon, .promise-widget li .ht-icon, .contact-form-points .ht-icon { color: var(--ok); width: 18px; height: 18px; margin-top: 2px; }

.product-summary { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.summary-category { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; align-self: flex-start; }
.summary-category:hover { color: var(--ink); }
.product-summary h1 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.product-status { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.summary-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.summary-price .price-current { font-size: 36px; letter-spacing: -0.02em; }
.summary-price del { font-size: 18px; font-variant-numeric: tabular-nums; }
.summary-price .price-contact { font-size: 28px; }
.price-saving { font-size: 14px; font-weight: 700; color: var(--sale); background: var(--sale-tint); padding: 3px 8px; border-radius: var(--radius-sm); }
.short-description { font-size: 15px; line-height: 1.7; color: var(--text-body); }
.short-description p + p { margin-top: 8px; }
.summary-promises { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-body); }

.ht-add-to-cart { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.qty-field { display: flex; flex-direction: column; gap: 6px; }
.qty-field label, .ht-cart-quantity > label { font-size: 13px; font-weight: 600; color: var(--ink); }
.qty-stepper { display: inline-flex; height: 52px; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #fff; }
.qty-stepper > button { width: 44px; border: 0; background: #fff; font-size: 20px; line-height: 1; color: var(--ink); }
.qty-stepper > button:hover { background: var(--surface); }
.qty-stepper .quantity { display: flex; }
.qty-stepper .quantity label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.qty-stepper input.qty {
  width: 52px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center;
  font-size: 16px; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input.qty::-webkit-outer-spin-button, .qty-stepper input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single_add_to_cart_button { flex: 1 1 220px; }
.view-cart-link { font-size: 14px; font-weight: 600; color: var(--navy); align-self: center; padding: 8px 4px; }
.ht-cart-unavailable {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #F3D9A6; background: var(--gold-tint);
  border-radius: var(--radius); color: var(--ink); font-size: 15px;
}
.ht-cart-unavailable .ht-icon { color: var(--gold-dark); margin-top: 2px; }
.purchase-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.purchase-actions a {
  min-height: 64px; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; padding: 8px 12px; text-align: center;
}
.purchase-actions small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.purchase-actions strong { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; }
.purchase-actions strong .ht-icon { width: 18px; height: 18px; }
.buy-now { background: var(--ink); color: #fff; }
.buy-now small { color: var(--on-dark-muted); }
.buy-now strong .ht-icon { color: var(--gold); }
.buy-now:hover { background: var(--navy); color: #fff; }
.zalo-order { border: 1px solid var(--ink); color: var(--ink); }
.zalo-order small { color: var(--muted); }
.zalo-order:hover { background: var(--surface); color: var(--ink); }
.secondary-hotline { font-size: 13px; color: var(--muted); }
.secondary-hotline a { color: var(--ink); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.delivery-note {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.delivery-note li { background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.delivery-note .ht-icon { color: var(--gold-dark); }
.delivery-note strong { font-size: 14px; color: var(--ink); }
.delivery-note span { font-size: 12px; color: var(--muted); }

.product-content-nav { position: sticky; top: 54px; z-index: 30; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-bar .product-content-nav { top: 86px; }
.product-content-nav .container { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.product-content-nav .container::-webkit-scrollbar { display: none; }
.product-content-nav a {
  flex-shrink: 0; display: inline-flex; align-items: center; height: 52px; font-weight: 600; color: var(--muted); text-decoration: none;
  box-shadow: inset 0 -3px 0 transparent;
}
.product-content-nav a:hover { color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 48px; padding-bottom: 24px; align-items: start; }
.product-detail-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.product-content > h2 { font-size: 26px; margin-bottom: 18px; }
#thong-tin-san-pham, #chinh-sach-san-pham, #san-pham-lien-quan { scroll-margin-top: 120px; }
.detail-policies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.detail-policies article { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.detail-policies .ht-icon { color: var(--gold-dark); width: 24px; height: 24px; }
.detail-policies h3 { font-size: 16px; margin-bottom: 4px; }
.detail-policies p { font-size: 14px; color: var(--text-body); line-height: 1.6; }
.related-products { padding-top: 40px; }
.product-mobile-bar { display: none; }

/* Sidebar widgets (product, search, generic pages) */
.site-sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.single-product-page .site-sidebar, .search-layout .site-sidebar, .content-with-sidebar .site-sidebar { position: sticky; top: 120px; }
.sidebar-widget { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.sidebar-widget h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 12px; letter-spacing: 0; }
.sidebar-widget h3 .ht-icon { width: 18px; height: 18px; color: var(--gold-dark); }
.category-widget ul { list-style: none; display: flex; flex-direction: column; }
.category-widget a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EEF0F3; color: var(--text-body); font-size: 14px; text-decoration: none; }
.category-widget li:last-child a { border-bottom: 0; }
.category-widget a:hover { color: var(--ink); }
.category-widget small { min-width: 26px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.support-person { display: flex; flex-direction: column; gap: 2px; }
.support-person small { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.support-person a { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.support-person a:hover { color: var(--navy); }
.support-person em { font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; }
.promise-widget ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

/* Lightbox */
.image-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 23, 44, .92); display: flex; align-items: center; justify-content: center; padding: 56px 16px;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility 0s .2s;
}
.image-lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.image-lightbox img { max-width: min(960px, 100%); max-height: 100%; object-fit: contain; background: #fff; border-radius: var(--radius); padding: 24px; }
.lightbox-close {
  position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius);
  background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
body.lightbox-open, body.nav-open, body.filter-drawer-open { overflow: hidden; }

/* ==========================================================================
   Editorial content (product description, posts, policies)
   ========================================================================== */
.entry-content { font-size: 17px; line-height: 1.75; color: var(--text-body); overflow-wrap: break-word; }
.entry-content > * + *, .article-body > * + * { margin-top: 1.05em; }
.entry-content p { margin: 0; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content h4 { font-size: 18px; margin-top: 1.3em; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: .6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .35em; }
.entry-content li::marker { color: var(--gold-dark); }
.entry-content strong { color: var(--ink); }
.entry-content a { color: var(--link); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-size: 18px; color: var(--ink); }
.entry-content table { font-size: 15px; border: 1px solid var(--line); display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--surface); color: var(--ink); font-weight: 600; }
.entry-content iframe { max-width: 100%; border: 0; }
.entry-content .wp-block-image img, .entry-content img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content .wp-block-embed, .entry-content .wp-block-video { margin: 1.5em 0; }
.entry-content .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.entry-content .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-content a.btn, .entry-content a.button, .commerce-main a:not(.btn):not(.button) { text-decoration: none; }
.entry-content a.btn-gold { color: var(--ink); }
.entry-content a.btn-navy { color: #fff; }
.entry-content a.btn-outline { color: var(--ink); }
.entry-content a.btn-outline:hover { color: #fff; }
.commerce-main .ht-cart-empty small a, .commerce-main .ht-cart-phone a, .commerce-main .ht-checkout-help a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   News + articles
   ========================================================================== */
.news-page { padding-top: 48px; }
.news-featured {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center;
  padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.news-featured-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.news-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-featured-body { display: flex; flex-direction: column; gap: 12px; }
.news-featured-body time { font-size: 14px; color: var(--muted); }
.news-featured-body h2 { font-size: 28px; line-height: 1.25; }
.news-featured-body h2 a { color: var(--ink); text-decoration: none; }
.news-featured-body h2 a:hover { color: var(--navy); }
.news-featured-body p { color: var(--text-body); font-size: 16px; line-height: 1.65; }
.news-featured.no-thumb { grid-template-columns: minmax(0, 1fr); }
.news-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }

.article-page { padding: 48px 0 24px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-layout.has-policy-nav { grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 44px; }
.article-main { min-width: 0; max-width: 780px; }
.article-cover-wrap { margin: 0 0 32px; }
.article-cover { width: 100%; border-radius: var(--radius); display: block; }
.article-aside { position: sticky; top: 76px; }
.admin-bar .article-aside, .admin-bar .policy-nav { top: 108px; }
.article-help { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.article-help > strong { font-size: 18px; color: var(--ink); }
.article-help > a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.article-help > a:not(.btn) .ht-icon { color: var(--gold-dark); }
.article-help small { color: var(--muted); font-size: 13px; }
.article-help .btn { margin-top: 8px; }
.policy-nav { position: sticky; top: 76px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.policy-nav > strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.policy-nav ul { list-style: none; display: flex; flex-direction: column; }
.policy-nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-body); font-size: 14px; font-weight: 500; text-decoration: none; }
.policy-nav a:hover { background: var(--surface); color: var(--ink); }
.policy-nav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.related-articles { padding-top: 48px; }

/* ==========================================================================
   Search
   ========================================================================== */
.wide-search { display: flex; gap: 10px; max-width: 640px; margin-top: 20px; }
.wide-search input[type="search"] {
  flex: 1 1 auto; min-width: 0; height: 50px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 16px; font-size: 16px; background: #fff;
}
.wide-search input[type="search"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.wide-search .btn { min-height: 50px; }
.search-page { padding-top: 40px; }
.search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.search-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.search-article {
  grid-column: 1 / -1; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.search-article.no-thumb { grid-template-columns: minmax(0, 1fr); }
.search-article-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); background: var(--ink); }
.search-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-article > div { display: flex; flex-direction: column; gap: 6px; }
.search-article h2 { font-size: 18px; line-height: 1.4; }
.search-article h2 a { color: var(--ink); text-decoration: none; }
.search-article p { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero-layout { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-channels { padding-bottom: 24px; }
.contact-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-channel {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color .18s var(--ease);
}
.contact-channel:hover { border-color: var(--ink); color: var(--ink); }
.contact-channel-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-channel-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-channel-copy small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-channel-copy strong { font-size: 22px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.contact-channel.is-email strong { font-size: 17px; }
.contact-channel-copy > span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 4px; }
.contact-channel-copy > span .ht-icon { width: 16px; height: 16px; }
.contact-addresses { padding-top: 48px; padding-bottom: 24px; }
.contact-addresses .section-head p { max-width: 360px; text-align: right; }
.contact-branch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-branch { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.contact-branch-top { display: flex; justify-content: space-between; align-items: center; }
.contact-branch-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; }
.contact-branch-index { font-size: 13px; font-weight: 700; color: var(--muted-light); font-variant-numeric: tabular-nums; }
.contact-branch-copy { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.contact-branch-copy small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-branch-copy h3 { font-size: 19px; }
.contact-branch-copy p { font-size: 14px; color: var(--text-body); line-height: 1.55; }
.contact-branch-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.contact-branch-actions a {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; text-decoration: none; padding: 0 8px; white-space: nowrap;
}
.contact-branch-actions .ht-icon { width: 16px; height: 16px; }
.contact-branch-phone { background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; }
.contact-branch-phone:hover { background: var(--navy); color: #fff; }
.contact-branch-route { border: 1px solid var(--ink); color: var(--ink); }
.contact-branch-route:hover { background: var(--surface); color: var(--ink); }
.contact-request { padding-top: 48px; }
.contact-request-layout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start;
  border-top: 1px solid var(--line); padding-top: 56px;
}
.contact-form-intro { display: flex; flex-direction: column; gap: 12px; }
.contact-form-intro h2 { font-size: 30px; }
.contact-form-intro > p { color: var(--text-body); }
.contact-form-points { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-size: 15px; }
.ht-contact-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.is-full { grid-column: 1 / -1; }
.form-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-label b { color: var(--sale); }
.form-field input, .form-field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; background: #fff; color: var(--ink);
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--sale); box-shadow: 0 0 0 1px var(--sale); }
.ht-field-error { color: var(--sale); font-size: 13px; font-weight: 500; min-height: 0; }
.ht-field-error:empty { display: none; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.ht-form-status { font-size: 14px; color: var(--muted); flex: 1 1 260px; }
.ht-form-status.is-error { color: var(--sale); font-weight: 600; }
.ht-form-status.is-success { color: var(--ok); font-weight: 600; background: var(--ok-tint); padding: 10px 12px; border-radius: var(--radius); }
.ht-form-status.is-pending { color: var(--ink); }
.form-privacy { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ==========================================================================
   Commerce (cart, checkout, account, notices)
   ========================================================================== */
.commerce-page { padding: 36px 0 80px; }
.commerce-main { font-size: 15px; line-height: 1.6; }
.commerce-main > * + * { margin-top: 0; }
.checkout-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.checkout-steps li { display: inline-flex; align-items: center; gap: 10px; }
.checkout-steps .step-num {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-variant-numeric: tabular-nums;
}
.checkout-steps .step-label-short { display: none; }
.checkout-steps .is-done { color: var(--ink); }
.checkout-steps .is-done .step-num { background: var(--ink); border-color: var(--ink); color: #fff; }
.checkout-steps .is-current .step-num { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.commerce-card-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.commerce-card-head > span {
  width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--ink); color: var(--gold);
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.commerce-card-head h2 { font-size: 20px; letter-spacing: 0; }
.commerce-card-head p { font-size: 14px; color: var(--muted); }

.ht-cart-layout, .ht-checkout-form { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.ht-cart-items, .ht-cart-summary, .ht-checkout-customer, .ht-checkout-review { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.ht-cart-summary, .ht-checkout-review { position: sticky; top: 76px; }
.admin-bar .ht-cart-summary, .admin-bar .ht-checkout-review { top: 108px; }
.ht-cart-list { display: flex; flex-direction: column; }
.ht-cart-item {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto 40px; gap: 18px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.ht-cart-item:first-child { padding-top: 0; }
.ht-cart-thumb { width: 88px; height: 88px; background: var(--surface); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ht-cart-thumb img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.ht-cart-product { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ht-cart-product h3 { font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.ht-cart-product h3 a { color: var(--ink); text-decoration: none; }
.ht-cart-product small { color: var(--muted); font-size: 13px; }
.ht-cart-product .variation { font-size: 13px; color: var(--muted); }
.ht-cart-quantity { display: flex; flex-direction: column; gap: 6px; }
.ht-cart-quantity .qty-stepper { height: 44px; }
.ht-cart-quantity .qty-stepper > button { width: 38px; }
.ht-cart-quantity .qty-stepper input.qty { width: 44px; }
.ht-cart-subtotal { display: flex; flex-direction: column; gap: 6px; text-align: right; min-width: 120px; }
.ht-cart-subtotal span { font-size: 13px; font-weight: 600; color: var(--ink); }
.ht-cart-subtotal strong { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ht-cart-remove {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.ht-cart-remove .ht-icon { width: 18px; height: 18px; }
.ht-cart-remove:hover { border-color: var(--sale); color: var(--sale); }
.ht-cart-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; }
.ht-continue-shopping { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; }
.ht-cart-tools button[disabled] { opacity: .45; cursor: not-allowed; }
.ht-cart-tools button[disabled]:hover { background: transparent; color: var(--ink); }
.ht-totals { margin: 0; display: flex; flex-direction: column; }
.ht-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #EEF0F3; font-size: 15px; }
.ht-totals dt { color: var(--text-body); }
.ht-totals dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.ht-totals .ht-cart-total { border-bottom: 0; padding-top: 14px; }
.ht-totals .ht-cart-total dt { font-weight: 700; color: var(--ink); }
.ht-totals .ht-cart-total dd { font-size: 22px; font-weight: 700; }
.ht-offline-note { display: flex; gap: 12px; padding: 14px; background: var(--gold-tint); border: 1px solid #F3D9A6; border-radius: var(--radius); margin: 16px 0; font-size: 14px; }
.ht-offline-note .ht-icon { color: var(--gold-dark); margin-top: 2px; }
.ht-offline-note strong { color: var(--ink); display: block; margin-bottom: 2px; }
.ht-checkout-button, .ht-place-order { width: 100%; }
.ht-cart-phone, .ht-checkout-help { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.ht-cart-phone a, .ht-checkout-help a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ht-cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.ht-cart-empty h2 { font-size: 24px; }
.ht-cart-empty p { color: var(--muted); max-width: 460px; }
.ht-cart-empty small { color: var(--muted); font-size: 14px; }
.ht-cart-empty small a { color: var(--ink); font-weight: 600; }

.ht-checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.ht-checkout-products { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ht-checkout-products > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.ht-checkout-products b { color: var(--muted); font-weight: 600; white-space: nowrap; }
.ht-checkout-products strong { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* WooCommerce form rows */
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row-wide, .ht-checkout-fields .form-row.notes, .ht-checkout-fields #billing_address_1_field, .ht-checkout-fields #order_comments_field { grid-column: 1 / -1; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--sale); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 400; }
#billing_email_field .optional { display: none; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea,
.woocommerce-account input.input-text {
  width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; background: #fff; color: var(--ink);
}
.woocommerce form .form-row textarea { min-height: 110px; resize: vertical; }
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.woocommerce form .form-row.woocommerce-invalid .input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--sale); box-shadow: 0 0 0 1px var(--sale); }
.woocommerce form .form-row.woocommerce-validated .input-text { border-color: #8CC9A2; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ink); vertical-align: -3px; margin-right: 8px; }
.ht-checkout-fields .form-row[style*="display:none"], .ht-checkout-fields #billing_country_field:has(input[type="hidden"]) { display: none !important; }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); margin: 12px 0; }
.woocommerce-terms-and-conditions-wrapper { margin: 12px 0; font-size: 14px; }

/* Buttons rendered by WooCommerce */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce-page .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--navy); color: #fff; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { min-height: 38px; padding: 0 14px; font-size: 14px; margin-left: auto; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 20px; padding: 14px 18px;
  border: 1px solid; border-radius: var(--radius); font-size: 15px; line-height: 1.5;
}
.woocommerce-message { background: var(--ok-tint); border-color: #B6DEC3; color: #14532D; }
.woocommerce-info { background: #EEF3FA; border-color: #C8D6EA; color: var(--ink); }
.woocommerce-error { background: var(--sale-tint); border-color: #F2C3AE; color: #7C2D12; flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { color: inherit; font-weight: 600; }
.woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* Order received / account */
.woocommerce-order { display: flex; flex-direction: column; gap: 24px; }
.woocommerce-thankyou-order-received {
  font-size: 18px; font-weight: 600; color: var(--ink); padding: 20px 22px; background: var(--ok-tint); border: 1px solid #B6DEC3; border-radius: var(--radius);
}
.woocommerce-order-overview {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.woocommerce-order-overview li { background: #fff; padding: 16px 18px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.woocommerce-order-overview strong { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.woocommerce-order-details, .woocommerce-customer-details { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 20px; margin-bottom: 14px; }
.woocommerce table.shop_table { border: 1px solid var(--line); font-size: 15px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce table.shop_table thead th { background: var(--surface); color: var(--ink); font-weight: 600; }
.woocommerce table.shop_table tfoot th { color: var(--ink); }
.woocommerce table.shop_table td:last-child, .woocommerce table.shop_table th:last-child { text-align: right; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.7; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper, .woocommerce-account .woocommerce > h2,
.woocommerce-account .woocommerce > .woocommerce-form-login, .woocommerce-account .woocommerce > .u-columns,
.woocommerce-account .woocommerce > .woocommerce-ResetPassword, .woocommerce-account .woocommerce > form { grid-column: 1 / -1; }
.woocommerce-account .woocommerce > h2 { font-size: 24px; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword {
  max-width: 480px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff;
}
.u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.u-columns .woocommerce-form-login, .u-columns .woocommerce-form-register { max-width: none; }
.woocommerce-form-login__rememberme { font-weight: 500 !important; display: inline-flex; align-items: center; margin-bottom: 12px; }
.woocommerce form .password-input { position: relative; display: block; }
.woocommerce form .password-input input { padding-right: 52px; }
.woocommerce form .show-password-input {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 40px; border: 0; border-radius: var(--radius);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6473' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / 20px;
  font-size: 0; color: transparent;
}
.woocommerce form .show-password-input.display-password {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}
.woocommerce form .show-password-input:hover { background-color: var(--surface); }
.woocommerce-form-login .form-row:last-of-type { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.woocommerce-LostPassword { font-size: 14px; }
.woocommerce-MyAccount-navigation ul { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-body); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > * + * { margin-top: 16px; }
.blockUI.blockOverlay { background: rgba(255,255,255,.7) !important; }

/* ==========================================================================
   Generic page + 404
   ========================================================================== */
.content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.error-page { padding: 96px 0; }
.error-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: center; }
.led-panel-error { border-radius: var(--radius); display: flex; justify-content: center; padding: 48px 24px; }
.led-panel-error .led-value { font-size: 96px; }
.error-copy { display: flex; flex-direction: column; gap: 14px; }
.error-copy h1 { font-size: 40px; }
.error-copy > p { font-size: 17px; color: var(--text-body); }
.error-copy .wide-search { margin-top: 6px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --gutter: 20px; }
  .header-main-inner { gap: 20px; }
  .brand img { width: 196px; }
  .header-search button span { display: none; }
  .header-search button { padding: 0 16px; }
  .nav-benefits li:nth-child(n+2) { display: none; }
  .product-grid { gap: 16px; }
  .catalog-product-grid, .search-result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-tile { gap: 12px; }
  .category-tile-media { width: 72px; height: 72px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid-3, .news-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-location-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout.has-policy-nav { grid-template-columns: 220px minmax(0, 1fr); }
  .article-layout.has-policy-nav .article-aside { display: none; }
  .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-partners-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .home-partners h2 { width: auto; }
  .partner-grid { width: 100%; }
}

@media (max-width: 1100px) {
  .header-hotline { display: none; }
  .product-detail-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-product-grid, .search-result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-collapse: 0px; }
  html { scroll-padding-top: 16px; }
  .site-header { position: relative; top: 0; }
  .admin-bar .site-header { top: 0; }
  .utility-bar { display: none; }
  .header-main-inner { height: auto; flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 14px; }
  .brand { margin-right: auto; }
  .brand img { width: 168px; }
  .header-search-wrap { order: 3; flex: 1 1 100%; }
  .header-search { height: 46px; }
  .header-search input[type="search"] { padding: 0 14px; }
  .header-search-error { position: static; display: block; margin-top: 6px; }
  .header-call, .menu-toggle { display: inline-flex; }
  .header-cart { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .header-cart-label { display: none; }
  .header-cart .header-cart-count { position: absolute; top: -7px; right: -7px; }

  /* Drawer */
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(400px, 88vw); background: #fff; border: 0;
    transform: translateX(100%); visibility: hidden; transition: transform .26s var(--ease), visibility 0s .26s; overflow-y: auto; overscroll-behavior: contain;
  }
  .main-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; box-shadow: -12px 0 32px rgba(8, 23, 44, .2); }
  .admin-bar .main-nav { top: 46px; }
  .nav-inner { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .nav-drawer-head {
    display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 16px 0 20px;
    background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 2;
  }
  .nav-drawer-head strong { font-size: 17px; }
  .nav-close { width: 44px; height: 44px; border: 1px solid var(--navy-soft); border-radius: var(--radius); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
  .primary-menu { flex-direction: column; padding: 8px 0; }
  .primary-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .primary-menu > li > a, .primary-menu > li:first-child > a { flex: 1 1 auto; height: auto; min-height: 54px; padding: 0 20px; font-size: 16px; }
  .primary-menu > .current-menu-item > a, .primary-menu > .current-menu-ancestor > a, .primary-menu > .current-menu-parent > a { box-shadow: inset 3px 0 0 var(--gold); }
  .submenu-toggle { width: 54px; height: 54px; margin: 0; border-left: 1px solid var(--line); color: var(--ink); }
  .primary-menu .sub-menu, .primary-menu .menu-products > .sub-menu {
    position: static; display: none; flex: 1 1 100%; min-width: 0; opacity: 1; visibility: visible; transform: none;
    border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 6px 0 10px; background: var(--surface);
  }
  .primary-menu > li.submenu-open > .sub-menu { display: block; }
  .primary-menu > li.submenu-open > .submenu-toggle .ht-icon { transform: rotate(180deg); }
  .primary-menu .sub-menu a { padding: 11px 20px 11px 32px; font-size: 15px; border-radius: 0; }
  .nav-benefits { flex-direction: column; gap: 12px; padding: 20px; white-space: normal; }
  .nav-benefits li:nth-child(n+2) { display: inline-flex; }
  .nav-drawer-contact { display: flex; flex-direction: column; gap: 8px; padding: 20px; margin-top: auto; border-top: 1px solid var(--line); background: var(--surface); }
  .nav-drawer-contact small { font-size: 12px; color: var(--muted); font-weight: 600; }
  .nav-drawer-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; min-height: 44px; font-variant-numeric: tabular-nums; }
  .nav-drawer-contact .ht-icon { color: var(--gold-dark); }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 110; border: 0; background: rgba(8, 23, 44, .5);
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility 0s .2s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

  /* Catalog drawer */
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .catalog-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 120; width: min(380px, 90vw); background: #fff; overflow-y: auto;
    transform: translateX(-100%); visibility: hidden; transition: transform .26s var(--ease), visibility 0s .26s;
  }
  .catalog-sidebar.is-open { transform: none; visibility: visible; transition-delay: 0s; box-shadow: 12px 0 32px rgba(8, 23, 44, .2); }
  .admin-bar .catalog-sidebar { top: 46px; }
  .catalog-filter-card { border: 0; border-radius: 0; min-height: 100%; }
  .filter-close { display: inline-flex; }
  .filter-backdrop {
    display: block; position: fixed; inset: 0; z-index: 110; border: 0; background: rgba(8, 23, 44, .5);
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility 0s .2s;
  }
  .filter-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .filter-open { display: inline-flex; }
  .catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .home-distribution-grid, .home-guides-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .brand-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .product-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-gallery-column { display: contents; }
  .product-gallery { order: 1; }
  .product-thumbnails { order: 2; margin-top: -8px; }
  .product-summary { order: 3; }
  .policy-box { order: 4; }
  .product-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .single-product-page .site-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-product-page .site-sidebar .category-widget { grid-row: span 2; }
  .product-content-nav { top: 0; }
  .admin-bar .product-content-nav { top: 0; }

  .article-layout, .article-layout.has-policy-nav, .search-layout, .content-with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .article-aside, .policy-nav { position: static; }
  .article-layout, .article-layout.has-policy-nav { gap: 28px; }
  .article-layout.has-policy-nav .article-aside { display: block; }
  .policy-nav ul { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .policy-nav a { border: 1px solid var(--line); }
  .search-layout .site-sidebar, .content-with-sidebar .site-sidebar { position: static; }
  .news-featured { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact-request-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ht-cart-layout, .ht-checkout-form { grid-template-columns: minmax(0, 1fr); }
  .ht-cart-summary, .ht-checkout-review { position: static; }
  .error-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .led-panel-error { max-width: 340px; }
  .woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  /* Keep the last content clear of the fixed bottom bar, including the iOS home-indicator inset. */
  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .btn { white-space: normal; text-align: center; }
  body.single-product { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2, .home-distribution-copy h2, .home-guides-copy h2, .contact-form-intro h2 { font-size: 23px; }
  .section-head p { font-size: 14px; }
  .section-head .link-more { font-size: 14px; }
  .brand img { width: 150px; }
  .header-main-inner { gap: 8px; padding-top: 10px; padding-bottom: 12px; }
  .header-icon-btn, .menu-toggle, .header-cart { width: 44px; height: 44px; }

  .product-grid, .catalog-product-grid, .search-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card-body { padding: 10px 10px 12px; gap: 6px; }
  .product-category { display: none; }
  .product-title { font-size: 14px; }
  .price-current { font-size: 16px; }
  .product-price del { font-size: 12px; }
  .price-contact { font-size: 16px; }
  .product-badges { left: 8px; top: 8px; }
  .product-badge { font-size: 11px; padding: 3px 6px; }
  .product-badge small { display: none; }
  .card-detail { min-height: 40px; font-size: 13px; padding: 0 8px; }
  .card-call { min-height: 40px; width: 40px; padding: 0; flex-shrink: 0; }
  .card-call span { display: none; }
  .stock-line { font-size: 11px; padding-top: 8px; }
  .stock-line > span:last-child { display: none; }

  .hero-badge { left: 12px; top: 12px; font-size: 12px; }
  .hero-price-tag { right: 12px; bottom: 12px; padding: 8px 12px; }
  .hero-price-tag .price-current { font-size: 18px; }
  .hero-price-tag del { display: none; }
  .led-panel { padding: 14px 16px; }
  .led-value { font-size: 26px; }
  .led-label { font-size: 10px; }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-tile { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  .category-tile-media { width: 100%; height: 92px; }
  .category-tile-copy strong { font-size: 14px; }
  .category-tile-copy small { font-size: 12px; }
  .home-distribution-grid { padding-top: 44px; padding-bottom: 44px; }
  .brand-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-board a { min-height: 64px; padding: 10px 14px; }
  .brand-board strong { font-size: 14px; }
  .home-distribution-actions .btn { flex: 1 1 auto; }
  .tab-list { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .tab-list [role="tab"] { padding: 0 14px; font-size: 14px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-grid li { height: 60px; padding: 8px 10px; }
  .guide-video-poster strong { font-size: 14px; padding: 28px 14px 12px; }
  .guide-play-button { width: 60px; height: 60px; }

  .news-grid, .news-grid-3, .news-archive-grid { grid-template-columns: minmax(0, 1fr); gap: 0; row-gap: 0; }
  .news-card { flex-direction: row; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .news-card:first-child { padding-top: 0; }
  .news-thumb { width: 124px; flex-shrink: 0; align-self: flex-start; border-radius: var(--radius-sm); }
  .news-card-body { gap: 4px; min-width: 0; }
  .news-card h2, .news-card h3 { font-size: 14px; }
  .news-card p { display: none; }
  .news-card time { font-size: 12px; }
  .news-card.no-thumb { border-top: 0; padding-top: 14px; }
  .news-featured { padding-bottom: 28px; margin-bottom: 14px; }
  .news-featured-body h2 { font-size: 21px; }
  .news-featured-body p { font-size: 15px; }

  .page-hero { padding: 16px 0 24px; }
  .breadcrumbs { margin-bottom: 12px; font-size: 12px; flex-wrap: nowrap; overflow: hidden; }
  .breadcrumbs > * { flex-shrink: 0; }
  .breadcrumbs strong { flex-shrink: 1; min-width: 0; }
  .page-hero h1 { font-size: 26px; }
  .page-hero-lead { font-size: 15px; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; margin: 18px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }

  .catalog-page { padding: 20px 0 48px; }
  .catalog-toolbar { gap: 12px; padding-bottom: 14px; margin-bottom: 16px; }
  .catalog-result-count small { display: none; }
  .catalog-toolbar-actions { width: 100%; }
  .catalog-sort { flex: 1 1 auto; }
  .catalog-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
  .catalog-sort select { width: 100%; min-width: 0; }
  .filter-open { flex-shrink: 0; }

  .product-breadcrumbs { padding-top: 12px; }
  .product-hero { padding-top: 12px; padding-bottom: 36px; gap: 20px; }
  .product-gallery { border-radius: 0; margin: 0 calc(var(--gutter) * -1); }
  .product-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .policy-box ul { grid-template-columns: minmax(0, 1fr); }
  .product-summary { gap: 14px; }
  .product-summary h1 { font-size: 24px; }
  .summary-price { padding: 14px 0; }
  .summary-price .price-current { font-size: 28px; }
  .summary-price del { font-size: 15px; }
  .ht-add-to-cart { flex-wrap: nowrap; gap: 10px; }
  .ht-add-to-cart .qty-stepper > button { width: 38px; }
  .ht-add-to-cart .qty-stepper input.qty { width: 44px; }
  .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 12px; white-space: normal; text-align: center; }
  .single_add_to_cart_button .ht-icon { display: none; }
  .view-cart-link { display: none; }
  .purchase-actions { grid-template-columns: minmax(0, 1fr); }
  .purchase-actions a { min-height: 58px; }
  .delivery-note { grid-template-columns: minmax(0, 1fr); }
  .delivery-note li { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
  .delivery-note span { width: 100%; padding-left: 30px; margin-top: -4px; }
  .product-content-nav .container { gap: 20px; }
  .product-content-nav a { height: 48px; font-size: 14px; }
  .product-detail-layout { padding-top: 28px; gap: 28px; }
  .product-detail-main { gap: 28px; }
  .product-content > h2 { font-size: 21px; }
  .detail-policies { grid-template-columns: minmax(0, 1fr); }
  .single-product-page .site-sidebar { grid-template-columns: minmax(0, 1fr); }
  .related-products { padding-top: 20px; }
  .product-mobile-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .product-mobile-bar .btn { min-height: 48px; padding: 0 8px; font-size: 14px; gap: 6px; }
  .product-mobile-bar .ht-icon { width: 18px; height: 18px; }
  body.single-product .floating-contact-shell .floating-contact { display: none; }

  .policy-nav { border: 0; padding: 0; }
  .policy-nav > strong { margin-bottom: 8px; }
  .policy-nav ul { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .policy-nav ul::-webkit-scrollbar { display: none; }
  .policy-nav li { flex-shrink: 0; }
  .policy-nav a { white-space: nowrap; border-radius: 19px; padding: 8px 14px; }
  .entry-content { font-size: 16px; line-height: 1.72; }
  .entry-content h2 { font-size: 21px; }
  .entry-content h3 { font-size: 18px; }
  .article-page { padding-top: 28px; }
  .article-cover-wrap { margin: 0 calc(var(--gutter) * -1) 24px; }
  .article-cover { border-radius: 0; }
  .wide-search { flex-direction: row; }
  .wide-search .btn span { display: none; }
  .search-article { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .search-article h2 { font-size: 15px; }
  .search-article p { display: none; }

  .contact-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-actions .btn:last-child { grid-column: 1 / -1; }
  .contact-channel-grid, .contact-branch-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .contact-channel { padding: 16px; }
  .contact-channel-copy strong { font-size: 19px; }
  .contact-addresses .section-head { flex-direction: column; align-items: flex-start; }
  .contact-addresses .section-head p { text-align: left; }
  .contact-request-layout { padding-top: 36px; }
  .ht-contact-form { padding: 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .form-footer .btn { width: 100%; }

  .commerce-page { padding: 16px 0 32px; }
  .commerce-hero { padding-bottom: 16px; }
  .commerce-hero .breadcrumbs { margin-bottom: 8px; }
  .commerce-hero h1 { font-size: 24px; }
  /* Three equal columns, number over a short label, joined by a hairline. */
  .checkout-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 14px; font-size: 12px; }
  .checkout-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
  .checkout-steps li + li::before {
    content: ''; position: absolute; top: 14px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 1px; background: var(--line-strong);
  }
  .checkout-steps li.is-done + li.is-done::before { background: var(--ink); }
  .checkout-steps .step-label { display: none; }
  .checkout-steps .step-label-short { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }

  /* Compact empty cart so its CTA sits clear of the fixed bottom bar. */
  .ht-cart-empty { gap: 10px; padding: 24px 16px 20px; }
  .ht-cart-empty .empty-state-icon { width: 44px; height: 44px; }
  .ht-cart-empty .empty-state-icon .ht-icon { width: 22px; height: 22px; }
  .ht-cart-empty h2 { font-size: 19px; line-height: 1.3; }
  .ht-cart-empty p { font-size: 14px; line-height: 1.55; }
  .ht-cart-empty .btn { width: 100%; min-height: 48px; margin-top: 4px; }
  .ht-cart-empty small { font-size: 13px; line-height: 1.6; }
  .ht-cart-items, .ht-cart-summary, .ht-checkout-customer, .ht-checkout-review { padding: 16px; }
  .ht-cart-item { grid-template-columns: 72px minmax(0, 1fr) 40px; grid-template-areas: "thumb product remove" "thumb qty subtotal"; gap: 10px 12px; align-items: start; }
  .ht-cart-thumb { grid-area: thumb; width: 72px; height: 72px; }
  .ht-cart-product { grid-area: product; }
  .ht-cart-product h3 { font-size: 15px; }
  .ht-cart-quantity { grid-area: qty; }
  .ht-cart-quantity > label { display: none; }
  .ht-cart-subtotal { grid-area: subtotal; grid-column: 3 / 4; min-width: 0; justify-content: flex-end; }
  .ht-cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .ht-cart-subtotal span { display: none; }
  .ht-cart-remove { grid-area: remove; justify-self: end; }
  .ht-cart-tools { flex-direction: column-reverse; align-items: stretch; }
  .ht-cart-tools .btn { width: 100%; }
  .ht-continue-shopping { justify-content: center; min-height: 44px; }
  .ht-checkout-fields { grid-template-columns: minmax(0, 1fr); }
  .u-columns { grid-template-columns: minmax(0, 1fr); }

  .footer-cta-inner { flex-direction: column; align-items: stretch; padding-top: 36px; padding-bottom: 36px; gap: 20px; }
  .footer-cta-copy h2 { font-size: 24px; }
  .footer-cta-copy p { font-size: 15px; }
  .footer-cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cta-actions .btn { padding: 0 12px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; padding-bottom: 8px; }
  .footer-brand { padding-bottom: 24px; }
  .footer-col { border-top: 1px solid var(--navy-line); }
  .footer-col summary { cursor: pointer; min-height: 56px; }
  .footer-col summary h3 { margin: 0; }
  .footer-col summary .ht-icon { display: block; color: var(--on-dark-muted); transition: transform .2s var(--ease); }
  .footer-col[open] summary .ht-icon { transform: rotate(180deg); }
  .footer-col ul { padding-bottom: 18px; gap: 4px; }
  .footer-col a { padding: 8px 0; }
  .footer-contact { border-top: 1px solid var(--navy-line); padding: 20px 0 24px; }
  .footer-directory { padding-bottom: 24px; }
  .footer-directory-disclosure { border-top: 1px solid var(--navy-line); }
  .footer-directory-disclosure > summary { cursor: pointer; padding: 16px 0; align-items: center; }
  .footer-directory-hint { display: none; }
  .footer-directory-disclosure > summary > .ht-icon { display: block; color: var(--on-dark-muted); transition: transform .2s var(--ease); }
  .footer-directory-disclosure[open] > summary > .ht-icon { transform: rotate(180deg); }
  .footer-location-list { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 16px; padding-bottom: 16px; }

  .floating-contact-shell .floating-contact { display: none; }
  .ht-contact-popup { left: 12px; right: 12px; bottom: 80px; width: auto; }
  body.single-product .ht-contact-popup { bottom: 84px; }
  .back-to-top { right: 12px; bottom: 80px; }
  body.single-product .back-to-top { bottom: 84px; }
  .mobile-dock {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-dock-item {
    min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; color: var(--ink); font-size: 11px; font-weight: 600; text-decoration: none; padding: 6px 2px;
  }
  .mobile-dock-item + .mobile-dock-item { border-left: 1px solid #EEF0F3; }
  .mobile-dock-item.is-accent { background: var(--gold); border-left-color: var(--gold); }
  .mobile-dock-item .ht-icon { width: 21px; height: 21px; }
  .mobile-dock-cart { position: relative; display: inline-flex; }
  .mobile-dock-cart .header-cart-count { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; }
  .error-page { padding: 48px 0; }
  .error-copy h1 { font-size: 28px; }
  .led-panel-error { padding: 32px 16px; }
  .led-panel-error .led-value { font-size: 64px; }
}

@media (max-width: 380px) {
  .brand img { width: 132px; }
  .product-title { font-size: 13px; }
  .card-detail { font-size: 12px; }
}

/* Trust strip + need finder across breakpoints */
@media (max-width: 1100px) {
  .home-finder-grid { gap: 32px; }
}
@media (max-width: 999px) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list li:nth-child(3) .trust-item { padding-left: 0; border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .home-finder-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-product { height: 340px; }
}
@media (max-width: 720px) {
  .home-trust { background: var(--ink-deep); }
  .home-trust > .container { padding: 0; }
  .trust-list li + li .trust-item, .trust-list li:nth-child(3) .trust-item { padding-left: 16px; border-left: 0; }
  .trust-list li:nth-child(odd) .trust-item { border-right: 1px solid var(--navy-line); }
  .trust-item { gap: 10px; padding: 13px 12px 13px 16px; }
  .trust-icon { width: auto; height: auto; border: 0; }
  .trust-icon .ht-icon { width: 18px; height: 18px; }
  .trust-copy strong { font-size: 13px; }
  .trust-note { display: none; }
  .trust-note-short { display: block; font-size: 11px; color: var(--on-dark-muted); line-height: 1.35; }

  .home-finder { padding-bottom: 16px; }
  .finder-head { margin-bottom: 16px; gap: 6px; }
  .finder-head h2 { font-size: 23px; }
  .finder-head p { font-size: 14px; }
  .need-grid { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); }
  .need-card {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; column-gap: 12px; row-gap: 2px; align-items: center;
    padding: 14px; min-height: 72px; border: 0; border-bottom: 1px solid #EEF0F3; border-radius: 0;
  }
  .need-card:last-child { border-bottom: 0; }
  .need-card:hover { border-color: #EEF0F3; background: var(--surface); }
  .need-card-top { grid-column: 1; grid-row: 1 / span 2; }
  .need-icon { width: 40px; height: 40px; }
  .need-icon .ht-icon { width: 19px; height: 19px; }
  .need-count, .need-desc, .need-card-foot { display: none; }
  .need-card h3 { grid-column: 2; grid-row: 1; font-size: 15px; margin: 0; }
  .need-short { display: block; grid-column: 2; grid-row: 2; font-size: 13px; color: var(--muted); }
  .need-chevron { display: block; grid-column: 3; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--muted-light); }
  .home-offer { margin-top: 12px; }
  .home-offer-head .link-more { font-size: 13px; }
  .offer-product { height: 250px; }
  .offer-product img { width: 74%; height: 84%; }
}

/* Banner placements across breakpoints */
/* Desktop + tablet: a wide, centred hero banner on the same navy as the hero
   below, with even breathing room above and below (no arrows or dots). */
@media (min-width: 721px) {
  .home-banners { background: var(--ink); padding: 14px 0; }
  .home-banners > .container { max-width: none; padding: 0; }
  .banner-stage { width: 84%; }
  .banner-track { border-radius: 8px; }
}
@media (min-width: 1181px) {
  .home-banners { padding: 18px 0; }
  .banner-stage { width: min(84%, 1360px); }
}
@media (max-width: 720px) {
  .home-banners { padding: 0; }
  .home-banners > .container { padding: 0; }
  .banner-track { border-radius: 0; }
  .home-promo { padding: 8px 0 0; }
  .home-promo--used { padding: 0 0 40px; }
  .home-promo-figure { margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  /* The banner slide is a requested feature; keep it a smooth slide rather than a hard cut. */
  .banner-rail { transition-duration: 550ms !important; }
}

@media print {
  .site-header, .site-footer, .floating-contact-shell, .mobile-dock, .product-mobile-bar, .back-to-top, .product-content-nav { display: none !important; }
  body { padding: 0; }
}

/* Homepage catalog groups: scoped to homepage content; card typography stays natural. */
.home-product-groups { display: grid; gap: 48px; }
.home-product-group { min-width: 0; }
.home-product-group + .home-product-group { border-top: 1px solid var(--line); padding-top: 40px; }
.home-product-group-head { margin-bottom: 20px; }
.home-product-group-title {
  font-family: var(--font); font-size: clamp(20px, 1.6vw, 26px); font-weight: 700;
  line-height: 1.35; letter-spacing: 0; text-transform: uppercase; overflow-wrap: break-word;
}
.home-product-group-more { margin-top: 20px; max-width: 100%; white-space: normal; }
.home-introduction { background: var(--paper); border-bottom: 1px solid var(--line); }
.home-introduction-inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
.home-introduction-copy { display: grid; gap: 12px; max-width: 78ch; }
.home-introduction-copy h2 { font-size: clamp(21px, 1.8vw, 28px); line-height: 1.35; letter-spacing: 0; }
.home-introduction-copy p { line-height: 1.75; }
.home-introduction-contact { display: grid; gap: 10px; border-left: 2px solid var(--gold); padding-left: 24px; }
.home-introduction-contact p { color: var(--muted); font-size: 14px; }
.home-introduction-contact a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 20px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.home-introduction-contact .ht-icon { color: var(--gold-dark); }
@media (min-width: 721px) and (max-width: 1023px) {
  .home-product-group .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .home-introduction-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-introduction-contact { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
}
@media (max-width: 720px) {
  .home-product-groups { gap: 32px; }
  .home-product-group + .home-product-group { padding-top: 28px; }
  .home-product-group-head { margin-bottom: 16px; }
  .home-product-group-more { margin-top: 16px; font-size: 14px; line-height: 1.6; }
  .home-introduction-inner { padding-top: 28px; padding-bottom: 28px; gap: 20px; }
}
@media (max-width: 339px) {
  .home-product-group .product-grid { grid-template-columns: minmax(0, 1fr); }
}
