:root {
  --brand: #ff8800;
  --text: #111111;
  --bg: #ffffff;
  --font-main: "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --line: #e5e5e5;
  --line-dark: #111111;
  --soft: #fff8ef;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  width: 100%;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
}

input,
button,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1800px;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.top-header {
  background: var(--brand);
  color: #111;
  font-size: 13px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.top-header-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 8px 0;
}

.top-brand {
  font-weight: 800;
  letter-spacing: 0.01em;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(10px, 2.2vw, 13px);
}

.top-brand-links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.top-brand-links .top-brand {
  width: auto;
  max-width: 100%;
}

.top-brand-sep {
  opacity: 0.65;
}

.top-meta {
  display: none;
}

.top-meta a {
  display: none;
}

.brand-row {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  z-index: 130;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand-row > * {
  min-width: 0;
}

.logo-lang-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  width: auto;
  max-width: 198px;
}

.site-logo-image {
  width: auto;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
}

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  position: relative;
}

.header-search-wrap {
  min-width: 0;
}

.header-search-blog {
  display: none;
}

.header-search input {
  width: 100%;
  height: 45px;
  border-radius: var(--radius-pill);
  border: 1px solid #d8d8d8;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}

.header-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.16);
}

.header-search button {
  height: 45px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 0 8px;
  line-height: 1;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}

.header-search button:hover {
  background: var(--brand);
}

.header-search-offer {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 320;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  max-height: min(56vh, 420px);
  overflow: auto;
}

.header-search-offer.is-open {
  display: block;
}

.header-search-offer-list {
  margin: 0;
  padding: 6px;
  list-style: none;
  display: grid;
  gap: 4px;
}

.header-search-offer-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 10px;
}

.header-search-offer-item:hover {
  background: #fff8eb;
  border-color: #ffd59f;
}

.header-search-offer-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.header-search-offer-thumb {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.header-search-offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 2px;
}

.header-search-offer-thumb.is-empty {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.header-search-offer-name {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
}

.header-search-offer-meta {
  font-size: 12px;
  line-height: 1.3;
  color: #6b7280;
}

.header-search-offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid #111;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #ff8800;
  color: #111;
}

.header-search-offer-empty {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  color: #4b5563;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.zalo-btn,
.hotline-btn,
.cart-btn {
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  height: 42px;
  width: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}

.zalo-btn {
  overflow: hidden;
}

.zalo-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-action-icon {
  width: 19px;
  height: 19px;
  display: block;
}

.zalo-btn:hover,
.hotline-btn:hover,
.cart-btn:hover {
  background: var(--brand);
}

.cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  font-size: 10px;
  line-height: 1;
  position: absolute;
  top: -6px;
  right: -5px;
  background: #fff;
  font-weight: 800;
}

.mobile-menu-toggle {
  display: none;
}

.menu-row-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.menu-row {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
}

.main-nav > a,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.main-nav > a:hover,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] {
  background: var(--brand);
}

.nav-dropdown {
  position: static;
}

.dropdown-arrow {
  margin-left: 10px;
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
  transition: transform 0.2s ease;
}

.nav-dropdown-trigger[aria-expanded="true"] .dropdown-arrow,
.mobile-category-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.mega-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform-origin: top center;
  width: min(1160px, calc(100vw - 40px));
  margin-left: calc(-1 * min(580px, calc((100vw - 40px) / 2)));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  z-index: 140;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mega-item,
.mobile-category-list a {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 8px;
  font-size: 14px;
  font-weight: 700;
}

.mega-item:hover,
.mobile-category-list a:hover {
  background: var(--brand);
}

.tone-a {
  background: #ffffff;
}

.tone-b {
  background: #fff6e9;
}

.mega-menu-grid .mega-item {
  background: #fff;
}

/* 4 cột desktop: tạo caro thật sự (so le theo hàng + cột) */
.mega-menu-grid .mega-item:nth-child(8n + 2),
.mega-menu-grid .mega-item:nth-child(8n + 4),
.mega-menu-grid .mega-item:nth-child(8n + 5),
.mega-menu-grid .mega-item:nth-child(8n + 7) {
  background: #fff6e9;
}

@media (max-width: 1200px) {
  /* 3 cột: lẻ/chẵn sẽ tự tạo caro */
  .mega-menu-grid .mega-item:nth-child(odd) {
    background: #fff;
  }

  .mega-menu-grid .mega-item:nth-child(even) {
    background: #fff6e9;
  }
}

@media (max-width: 991px) {
  /* Mobile/tablet menu 2 cột: pattern 4 ô để so le hàng + cột */
  .mobile-category-list a:nth-child(4n + 1),
  .mobile-category-list a:nth-child(4n + 4) {
    background: #fff;
  }

  .mobile-category-list a:nth-child(4n + 2),
  .mobile-category-list a:nth-child(4n + 3) {
    background: #fff6e9;
  }
}

.mobile-nav {
  display: none;
}

body.is-sticky .brand-row {
  min-height: 58px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "menu search actions";
  gap: 8px;
  padding: 8px 0;
  overflow: visible;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

body.is-sticky .top-header {
  display: none;
}

body.is-sticky .logo-lang-wrap {
  display: none;
}

body.is-sticky .mobile-menu-toggle {
  grid-area: menu;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

body.is-sticky .mobile-menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #111;
}

body.is-sticky .header-search-wrap {
  grid-area: search;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  position: relative;
  z-index: 220;
}

body.is-sticky.page-blog .header-search-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body.is-sticky.page-blog .header-search-blog {
  display: grid;
}

body.is-sticky .header-search {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

body.is-sticky .header-search input {
  min-width: 0;
}

body.is-sticky .header-actions {
  grid-area: actions;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  overflow: visible;
  flex-wrap: nowrap;
}

body.is-sticky .menu-row-wrap {
  display: none;
}

@media (min-width: 992px) {
  body:not(.is-sticky) .mobile-menu-toggle {
    display: none;
  }

  body.is-sticky .mobile-nav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  body.is-sticky .mobile-nav.is-open {
    display: block;
  }

  body.is-sticky .mobile-nav-inner {
    width: 100%;
    max-width: 1800px;
    padding: 10px 16px;
    margin: 0 auto;
    display: grid;
    gap: 8px;
  }

  body.is-sticky .mobile-nav-inner > a,
  body.is-sticky .mobile-category-toggle {
    border: 1px solid #111;
    border-radius: 999px;
    min-height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    background: #fff;
  }

  body.is-sticky .mobile-category-toggle {
    cursor: pointer;
  }

  body.is-sticky .mobile-category-list {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  body.is-sticky .mobile-category-list.is-open {
    display: grid;
  }
}

.content {
  padding: 18px 0 40px;
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff, #fff2df 45%, #ffe4bb);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 30px);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 800;
  margin-bottom: 10px;
  background: #fff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 4.8vw, 52px);
  line-height: 1.04;
}

.hero p {
  margin: 12px 0 0;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 600;
  max-width: 1040px;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius-pill);
  padding: 0 18px;
  font-weight: 900;
  border: 1px solid #111;
}

.btn {
  background: var(--brand);
}

.btn-outline {
  background: #fff;
}

.btn-outline:hover {
  background: var(--brand);
}

.section {
  margin-top: 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
}

.home-brand-section {
  margin-top: 20px;
}

.home-brand-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.home-brand-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-items: center;
}

.home-brand-logo-link {
  width: 100%;
  min-height: 92px;
  border: 1px solid #eceff4;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 12px 14px;
}

a.home-brand-logo-link:hover {
  border-color: #ffd59f;
  background: #fff8eb;
}

.home-brand-logo-link img {
  width: auto;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
  margin: 0 auto;
}

.home-brand-logo-text {
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
}

.home-brand-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
}

.category-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.category-card {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

/* Checker background for "Danh mục máy đo tiêu biểu" on home page */
.category-grid--checker .category-card {
  background: #fff;
}

@media (min-width: 981px) {
  .category-grid--checker .category-card:nth-child(8n + 1),
  .category-grid--checker .category-card:nth-child(8n + 3),
  .category-grid--checker .category-card:nth-child(8n + 6),
  .category-grid--checker .category-card:nth-child(8n + 8) {
    background: #fff;
  }

  .category-grid--checker .category-card:nth-child(8n + 2),
  .category-grid--checker .category-card:nth-child(8n + 4),
  .category-grid--checker .category-card:nth-child(8n + 5),
  .category-grid--checker .category-card:nth-child(8n + 7) {
    background: #fff6e9;
  }
}

@media (max-width: 980px) {
  .category-grid--checker .category-card:nth-child(4n + 1),
  .category-grid--checker .category-card:nth-child(4n + 4) {
    background: #fff;
  }

  .category-grid--checker .category-card:nth-child(4n + 2),
  .category-grid--checker .category-card:nth-child(4n + 3) {
    background: #fff6e9;
  }
}

.product-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lq-catalog-page {
  display: grid;
  gap: 14px;
}

.lq-catalog-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 16px;
  background: #fff;
}

.lq-catalog-hero h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.lq-catalog-hero p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #334155;
}

.lq-catalog-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lq-catalog-toolbar > .btn-outline {
  min-height: 38px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 12px;
}

.lq-catalog-content {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: #fff;
}

.lq-catalog-content + .lq-catalog-content {
  margin-top: 10px;
}

/* Category content images generated by AI: centered + consistent visual size. */
.lq-category-content img {
  display: block;
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  height: auto !important;
  max-height: 460px;
  object-fit: contain;
  margin: 12px auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  clear: both;
  border-radius: 12px;
}

.lq-category-content a[data-ai-image-link],
.lq-category-content a:has(> img) {
  display: block;
  width: 100%;
  text-align: center;
}

.lq-category-content .lq-inline-figure {
  margin: 12px auto 16px;
  text-align: center;
}

.lq-category-content p:has(> img),
.lq-category-content div:has(> img),
.lq-category-content figure:has(> img),
.lq-category-content .aligncenter,
.lq-category-content .alignleft,
.lq-category-content .alignright,
.lq-category-content [class*="caption"],
.lq-category-content [class*="caption"].alignleft,
.lq-category-content [class*="caption"].alignright {
  display: block !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.lq-category-content .lq-inline-figure figcaption {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  color: #374151;
  font-style: italic;
}

@media (max-width: 767px) {
  .lq-category-content img {
    width: min(100%, 520px) !important;
    max-height: 360px;
  }
}

.lq-catalog-download-wrap {
  margin-top: 12px;
  display: block;
}

.lq-catalog-download-btn {
  min-height: 42px;
  font-weight: 800;
}

.lq-catalog-download-cta {
  width: 100%;
  border-color: #ff8800;
  color: #111;
  background: #fff;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  text-align: center;
}

.lq-catalog-download-cta:hover,
.lq-catalog-download-cta:focus-visible {
  background: #ff8800;
  color: #111;
}

.lq-catalog-download-cta__icon {
  width: 18px;
  height: 18px;
  line-height: 0;
  flex: 0 0 auto;
}

.lq-catalog-download-cta__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lq-catalog-download-cta__label {
  font-weight: 900;
  letter-spacing: 0.01em;
}

.lq-catalog-sort-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.lq-catalog-filter-form {
  flex-wrap: wrap;
  align-items: center;
  row-gap: 8px;
}

.lq-catalog-sort-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.lq-catalog-filter-dropdown {
  position: relative;
}

.lq-catalog-sort-dropdown {
  min-width: 190px;
}

.lq-catalog-selected-view .lq-catalog-sort-inline .lq-catalog-sort-dropdown {
  margin-left: 0;
}

@media (min-width: 992px) {
  .lq-catalog-selected-view .section-head .lq-catalog-toolbar {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
  }

  .lq-catalog-selected-view .lq-catalog-sort-form {
    width: auto;
    min-width: 0;
  }

  .lq-catalog-selected-view .lq-catalog-sort-inline {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
}

.lq-catalog-filter-dropdown > summary {
  list-style: none;
  min-height: 38px;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  background: #fff;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.lq-catalog-sort-dropdown > summary {
  justify-content: space-between;
}

.lq-catalog-filter-dropdown > summary:hover,
.lq-catalog-filter-dropdown > summary:focus-visible {
  background: #ff8800;
  color: #111;
  border-color: #ff8800;
}

.lq-catalog-filter-dropdown > summary::-webkit-details-marker {
  display: none;
}

.lq-catalog-filter-dropdown > summary::after {
  content: "▾";
  margin-left: 7px;
  font-size: 11px;
}

.lq-catalog-filter-dropdown[open] > summary::after {
  content: "▴";
}

.lq-catalog-filter-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 260px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  gap: 6px;
}

.lq-catalog-filter-panel label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.lq-catalog-filter-panel select {
  width: 100%;
  min-width: 0;
}

.lq-catalog-filter-panel select:hover,
.lq-catalog-filter-panel select:focus-visible {
  background: #ff8800;
  color: #111;
  border-color: #ff8800;
}

.lq-catalog-sort-panel {
  min-width: 230px;
}

.lq-catalog-sort-option {
  width: 100%;
  min-height: 36px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  padding: 0 12px;
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.lq-catalog-sort-option:hover,
.lq-catalog-sort-option:focus-visible,
.lq-catalog-sort-option.is-active {
  background: #ff8800;
  color: #111;
  border-color: #ff8800;
}

.lq-catalog-sort-form--hero {
  margin-top: 12px;
}

.lq-catalog-jump {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lq-catalog-jump a {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.lq-catalog-jump a:nth-child(odd) {
  background: #fff;
}

.lq-catalog-jump a:nth-child(even) {
  background: #fff6e9;
}

.lq-catalog-jump a:hover {
  background: var(--brand);
}

.lq-catalog-sections {
  display: grid;
  gap: 12px;
}

.lq-catalog-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 12px;
  background: #fff;
}

.lq-catalog-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.lq-catalog-section__head h2 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2;
}

.lq-catalog-section__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #475569;
}

.lq-catalog-section__meta a {
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  font-weight: 700;
  color: #111;
  background: #fff;
}

.lq-catalog-section__meta a:hover {
  background: var(--brand);
}

.lq-catalog-brand-filter {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lq-catalog-brand-wrap {
  margin-top: 12px;
}

.lq-catalog-brand-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.lq-brand-chip {
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  min-height: 36px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}

.lq-brand-chip:hover,
.lq-brand-chip.is-active {
  background: var(--brand);
}

.lq-brand-chip__logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #111;
  background: #fff;
}

.lq-brand-chip__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lq-brand-chip__text {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.lq-catalog-products {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lq-catalog-product-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  position: relative;
}

.lq-stock-instock {
  border-left: 4px solid #16a34a;
}

.lq-stock-onbackorder {
  border-left: 4px solid #f59e0b;
}

.lq-stock-outofstock {
  border-left: 4px solid #9ca3af;
}

.lq-catalog-product-card {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.lq-catalog-product-title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  min-height: 40px;
}

.lq-catalog-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lq-catalog-product-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

.lq-catalog-addcart {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lq-catalog-addcart svg {
  width: 18px;
  height: 18px;
}

.lq-catalog-addcart:hover {
  background: var(--brand);
}

.lq-catalog-product-hover {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  display: none;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  background: #fffdfa;
}

.lq-catalog-product-item:hover .lq-catalog-product-hover {
  display: grid;
}

.lq-catalog-product-hover__thumb {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
}

.lq-catalog-product-hover__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lq-catalog-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #777;
}

.lq-catalog-product-hover__summary {
  font-size: 13px;
  line-height: 1.45;
  color: #374151;
}

.lq-catalog-product-empty {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px;
  color: #6b7280;
  font-size: 14px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: 205px auto;
}

.product-media {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.product-media .fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #777;
}

.product-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.stock-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid #111;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  background: #ff8800;
  box-shadow: 0 6px 14px rgba(255, 136, 0, 0.35);
}

.product-media > .feature-chip,
.lq-pd-main-image > .feature-chip {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 5 !important;
}

.stock-chip.in-stock {
  background: #effcef;
}

.stock-chip.backorder {
  background: #fff8df;
}

.stock-chip.out-stock {
  background: #fafafa;
}

.product-name {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price {
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.cart-icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  line-height: 1;
}

.cart-icon-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.cart-icon-btn:hover {
  background: var(--brand);
}

.blog-search-form {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-search-form input[type="search"] {
  flex: 1;
  min-width: 220px;
  height: 42px;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 15px;
}

.blog-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(255, 136, 0, 0.18);
}

.blog-search-form button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.blog-search-form button:hover {
  background: var(--brand);
}

.blog-search-clear {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.blog-search-clear:hover {
  background: var(--brand);
}

.blog-empty-note {
  margin: 0;
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: #fff;
}

.blog-search-summary {
  margin: 10px 0 0;
  font-size: 14px;
  color: #374151;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.blog-card-media {
  display: block;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 16 / 10;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.03);
}

.blog-card h3 {
  line-height: 1.35;
}

.blog-card p {
  margin: 0;
}

.blog-card h3 a:hover {
  color: var(--brand);
}

.blog-read-more {
  justify-self: start;
  margin-top: auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  background: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 13px;
}

.blog-read-more:hover {
  background: var(--brand);
}

.blog-search-suggest {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: #fff;
}

.blog-suggest-title {
  margin: 0;
  font-weight: 800;
}

.blog-suggest-links {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.blog-suggest-links a {
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  width: fit-content;
  background: #fff;
}

.blog-suggest-links a:hover {
  background: var(--brand);
}

.blog-detail {
  display: grid;
  gap: 14px;
}

.blog-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #4b5563;
}

.blog-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.blog-meta-time {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.blog-detail-hero {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  object-fit: cover;
}

.blog-excerpt {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8ef;
  border: 1px solid #fde3bf;
  font-weight: 500;
}

.blog-detail-content {
  line-height: 1.7;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
}

.blog-related {
  display: grid;
  gap: 10px;
}

.knowledge-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.knowledge-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 14px;
}

.knowledge-card h3 {
  margin: 0;
  font-size: 16px;
}

.knowledge-card p {
  margin: 8px 0 0;
  color: #444;
}

.home-custom-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-custom-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  gap: 8px;
  background: #fff;
}

.home-custom-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.home-custom-content {
  display: grid;
  gap: 8px;
}

.home-custom-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.home-custom-content h2,
.home-custom-content h3,
.home-custom-content h4 {
  margin: 0;
  line-height: 1.25;
}

.home-custom-link {
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
}

.video-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.video-sku-group + .video-sku-group {
  margin-top: 12px;
}

.video-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.video-group-head h2 {
  margin: 0;
  font-size: 18px;
}

.video-group-link {
  min-height: 36px;
  padding: 0 12px;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-no-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.video-meta {
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
}

.video-meta h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  min-height: 40px;
}

.video-watch-btn {
  width: 100%;
}

.video-more-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

/* Footer: same design as legacy site (:8080) */
.site-footer.lq-footer {
  margin-top: 30px;
  background: #fff;
  color: #1f2937;
  padding: 42px 16px 18px;
  border-top: 1px solid #eceff4;
}

.lq-footer__inner {
  width: min(1400px, calc(100vw - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.lq-footer__col {
  background: #fff;
  border: 1px solid #e6eaf1;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lq-footer__col h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.lq-footer__col h4 {
  margin: 14px 0 8px;
  color: #ff8800;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lq-footer__col p {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1.5;
  color: #334155;
}

.lq-footer__company-name {
  color: #0f172a !important;
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1.35;
}

.lq-footer__bank {
  margin-top: auto;
  padding-top: 10px;
}

.lq-footer__bank-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.lq-footer__bank-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.lq-footer__bank-qr {
  flex: 0 0 114px;
  width: 114px;
  margin-top: auto;
}

.lq-footer__bank-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e6eaf1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.lq-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lq-footer__links li {
  margin: 0 0 9px;
}

.lq-footer__links a {
  color: #334155;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.18s ease;
}

.lq-footer__links a:hover,
.lq-footer__links a:focus {
  color: #ff8800;
}

.lq-footer__col--contact a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.lq-footer__col--contact a:hover,
.lq-footer__col--contact a:focus {
  color: #ff8800;
}

.lq-footer__bct {
  margin-top: auto;
  max-width: 220px;
}

.lq-footer__map-card {
  display: block;
  margin-top: auto;
  max-width: 340px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6eaf1;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lq-footer__map-card:hover,
.lq-footer__map-card:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.lq-footer__map-card img {
  display: block;
  width: 100%;
  height: auto;
}

.lq-footer__bct img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e6eaf1;
}

.lq-footer__bottom {
  width: min(1400px, calc(100vw - 24px));
  margin: 20px auto 0;
  padding-top: 12px;
  border-top: 1px solid #e8ecf2;
}

.lq-footer__bottom p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1300px) {
  .lq-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .lq-footer__col--contact {
    grid-column: 1 / -1;
  }

  .lq-footer__links a {
    font-size: 16px;
  }
}

.floating-zalo,
.floating-top {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  box-shadow: var(--shadow);
}

.floating-zalo {
  bottom: calc(var(--floating-zalo-bottom, 22px) + env(safe-area-inset-bottom, 0px));
  left: 16px;
}

.floating-zalo img {
  width: 28px;
  height: 28px;
}

.floating-top {
  bottom: calc(var(--floating-top-bottom, 22px) + env(safe-area-inset-bottom, 0px));
  right: 16px;
}

.floating-top-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.floating-zalo:hover,
.floating-top:hover {
  background: var(--brand);
}

.lq-product-detail {
  display: grid;
  gap: 16px;
}

.product-page,
.lq-pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 16px;
}

.product-gallery,
.product-summary,
.lq-pd-gallery,
.lq-pd-summary {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
}

.product-gallery,
.lq-pd-gallery {
  padding: 14px;
}

.product-main-image,
.lq-pd-main-image {
  border: 1px solid #ebebeb;
  border-radius: 10px;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 8px;
}

.product-main-image img,
.lq-pd-main-image img {
  max-height: 400px;
  width: 100%;
  object-fit: contain;
}

.lq-pd-thumb-slider {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.lq-pd-thumb-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lq-pd-thumb-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #111;
}

.lq-pd-thumb-nav[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.product-thumbnails,
.lq-pd-thumbnails {
  --thumb-visible: 5;
  --thumb-gap: 8px;
  display: flex;
  gap: var(--thumb-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-thumbnails::-webkit-scrollbar,
.lq-pd-thumbnails::-webkit-scrollbar {
  display: none;
}

.lq-pd-thumb {
  flex: 0 0 calc((100% - (var(--thumb-visible) - 1) * var(--thumb-gap)) / var(--thumb-visible));
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
}

.lq-pd-thumb img,
.product-thumbnails img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.lq-pd-thumb.is-active {
  border-color: #111;
}

.lq-pd-no-thumb {
  flex: 1 0 100%;
  min-height: 72px;
  border: 1px dashed #dcdcdc;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #7a7a7a;
}

.product-summary,
.lq-pd-summary {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lq-pd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12px;
  color: #666;
}

.lq-pd-breadcrumb a:hover {
  color: var(--brand);
}

.summary-title,
.lq-pd-title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.26;
  font-weight: 800;
}

.lq-pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
  color: #444;
}

.lq-pd-meta a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lq-pd-short-desc {
  margin: 0;
  color: #2f2f2f;
  line-height: 1.65;
  font-size: 15px;
}

.lq-pd-warranty {
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  padding: 8px 12px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.lq-pd-warranty__label {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #92400e;
  white-space: nowrap;
  line-height: 1.2;
}

.lq-pd-warranty__value {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lq-pd-buybox {
  margin-top: auto;
  border: 1px solid #111;
  border-radius: 10px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.lq-pd-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.lq-pd-price {
  color: var(--brand);
  font-size: clamp(30px, 3.3vw, 42px);
  line-height: 1;
  font-weight: 900;
}

.lq-pd-stock-qty,
.lq-pd-stock-status {
  border: 1px solid #111;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.lq-pd-stock-qty {
  background: #fff;
  color: #111;
  justify-self: end;
}

.lq-pd-stock-status {
  justify-self: center;
}

.lq-pd-stock-status.is-in_stock {
  border-color: #1f7a1f;
  background: #eaf8ea;
  color: #1f7a1f;
}

.lq-pd-stock-status.is-backorder {
  border-color: #b77900;
  background: #fff6e5;
  color: #b77900;
}

.lq-pd-stock-status.is-out_of_stock {
  border-color: #b11f1f;
  background: #feecec;
  color: #b11f1f;
}

.lq-pd-buy-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.lq-pd-qty-box {
  border: 1px solid #111;
  border-radius: 10px;
  min-width: 155px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 700;
}

.lq-pd-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lq-pd-qty-controls button {
  border: 0;
  background: transparent;
  font-size: 18px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.lq-pd-qty-controls input {
  width: 34px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

.lq-pd-cart-form {
  flex: 1 1 auto;
  display: grid;
}

.add-cart-btn,
.lq-pd-add-cart {
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  min-height: 56px;
  font-size: 15px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.lq-pd-add-cart svg {
  width: 18px;
  height: 18px;
  display: block;
}

.add-cart-btn:hover,
.lq-pd-add-cart:hover {
  background: var(--brand);
}

.lq-pd-out-stock {
  border: 1px solid #c9c9c9;
  border-radius: 10px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #707070;
  font-weight: 700;
}

.tabs {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.tab-nav button {
  min-height: 38px;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  background: #fff;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.tab-nav button.is-active,
.tab-nav button:hover {
  background: var(--brand);
}

.lq-pd-tabs {
  margin-top: 2px;
  border-radius: 10px;
}

.lq-pd-tab-nav {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.lq-pd-tab-nav button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 16px;
  letter-spacing: 0.01em;
}

.lq-pd-content-box {
  border-radius: 10px;
  border-color: #e8e8e8;
}

.tab-panel {
  display: none;
  padding: 16px;
  background: #fff;
}

.tab-panel.is-active {
  display: block;
}

.block-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.block-box + .block-box {
  margin-top: 10px;
}

.block-box h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.lq-product-desc-block__title {
  font-size: 25px !important;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}

.lq-product-desc-block + .lq-product-desc-block {
  margin-top: 10px;
}

.tab-panel .lq-pd-warranty {
  margin-top: 10px;
}

.lq-pd-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lq-pd-keyword-item {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.lq-content-typography,
.lq-content-typography p,
.lq-content-typography li,
.lq-content-typography td,
.lq-content-typography th,
.lq-content-typography blockquote,
.lq-article-content,
.lq-article-content p,
.lq-article-content li,
.lq-category-content,
.lq-category-content p,
.lq-category-content li {
  font-family: var(--font-main);
}

.lq-content-typography p,
.lq-content-typography li,
.lq-article-content p,
.lq-article-content li,
.lq-category-content p,
.lq-category-content li {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}

.lq-content-typography a,
.lq-content-typography a:visited,
.lq-article-content a,
.lq-article-content a:visited,
.lq-category-content a,
.lq-category-content a:visited {
  color: #ff8800 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lq-content-typography a:hover,
.lq-content-typography a:focus-visible,
.lq-article-content a:hover,
.lq-article-content a:focus-visible,
.lq-category-content a:hover,
.lq-category-content a:focus-visible {
  color: #e67700 !important;
}

.lq-content-typography h2,
.lq-article-content h2,
.lq-category-content h2 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  margin: 14px 0 10px;
}

.lq-content-typography h3,
.lq-article-content h3,
.lq-category-content h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  margin: 12px 0 9px;
}

.lq-content-typography h4,
.lq-content-typography h5,
.lq-content-typography h6,
.lq-article-content h4,
.lq-article-content h5,
.lq-article-content h6,
.lq-category-content h4,
.lq-category-content h5,
.lq-category-content h6 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin: 10px 0 8px;
}

/* Normalize pasted inline styles so intro/content text does not show mixed font sizes. */
.lq-product-desc-block .lq-content-typography p :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography li :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography td :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography th :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography h2 :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography h3 :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography h4 :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography h5 :not(sup):not(sub),
.lq-product-desc-block .lq-content-typography h6 :not(sup):not(sub) {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}

/* Keep "Ứng dụng/Applications" text visually consistent with other description blocks. */
#lq-block-apps .lq-content-typography,
#lq-block-apps .lq-content-typography p,
#lq-block-apps .lq-content-typography li,
#lq-block-apps .lq-content-typography ul,
#lq-block-apps .lq-content-typography ol,
#lq-block-apps .lq-content-typography span,
#lq-block-apps .lq-content-typography div {
  font-family: var(--font-main) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
  color: #111 !important;
}

#lq-block-apps .lq-content-typography strong,
#lq-block-apps .lq-content-typography b {
  font-weight: 700 !important;
}

#lq-block-apps .lq-content-typography * {
  font-family: inherit !important;
}

/* Product description images: keep visual frame neat (not oversized/thick). */
.lq-product-desc-block .lq-content-typography img {
  display: block;
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  height: auto !important;
  max-height: 420px;
  object-fit: contain;
  margin: 12px auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  clear: both;
  border-radius: 10px;
}

.lq-product-desc-block .lq-content-typography a:has(> img),
.lq-product-desc-block .lq-content-typography p:has(> img),
.lq-product-desc-block .lq-content-typography div:has(> img),
.lq-product-desc-block .lq-content-typography figure:has(> img),
.lq-product-desc-block .lq-content-typography .aligncenter,
.lq-product-desc-block .lq-content-typography .alignleft,
.lq-product-desc-block .lq-content-typography .alignright,
.lq-product-desc-block .lq-content-typography [class*="caption"] {
  display: block !important;
  float: none !important;
  width: 100%;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 767px) {
  .lq-product-desc-block .lq-content-typography img {
    width: min(100%, 460px) !important;
    max-width: 460px !important;
    max-height: 320px;
  }
}

/* Global content heading system: H2-H6 bold + per-level bullets/indent. */
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h1,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h2,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h3,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h5,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h6 {
  font-weight: 700 !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h3,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h5,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h6 {
  font-weight: 700 !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h3 *,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4 *,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h5 *,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h6 * {
  font-weight: 700 !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h2 {
  margin-left: 0;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h3 {
  margin-left: 8px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4 {
  margin-left: 14px;
  position: relative;
  padding-left: 14px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4::before {
  content: none !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) li.lq-li-h4-heading::marker {
  content: "○ ";
  color: #ff8800 !important;
  font-weight: 700;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) li.lq-li-h4-heading > h4 {
  margin-left: 0;
  padding-left: 0;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) li.lq-li-h4-heading > h4::before {
  content: none;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading {
  padding-left: 0;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading::before {
  content: none;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ul,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ol {
  margin: 0;
  padding-left: 28px;
  list-style-type: circle !important;
  list-style-position: outside;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ul > li::before,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ol > li::before {
  content: none !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ul > li,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ol > li {
  position: static;
  padding-left: 0;
  list-style-type: circle !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ul > li::marker,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) h4.lq-h4-list-heading > ol > li::marker {
  color: #ff8800 !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h5 {
  margin-left: 20px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) h6 {
  margin-left: 26px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) ul,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) ol {
  margin: 8px 0 12px;
  padding-left: 22px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) li::marker {
  color: #ff8800 !important;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) ul[data-lq-head-level],
:where(.lq-content-typography, .lq-article-content, .lq-category-content) ol[data-lq-head-level] {
  list-style-type: none;
  padding-left: 18px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) [data-lq-head-level="2"] {
  margin-left: 0;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) [data-lq-head-level="3"] {
  margin-left: 8px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) [data-lq-head-level="4"] {
  margin-left: 14px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) [data-lq-head-level="5"] {
  margin-left: 20px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) [data-lq-head-level="6"] {
  margin-left: 26px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) ul[data-lq-head-level="2"] > li::before,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) ol[data-lq-head-level="2"] > li::before {
  content: "●";
  color: #ff8800;
  display: inline-block;
  width: 14px;
  margin-left: -14px;
  font-size: 10px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) ul[data-lq-head-level="3"] > li::before,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) ol[data-lq-head-level="3"] > li::before {
  content: "▸";
  color: #ff8800;
  display: inline-block;
  width: 14px;
  margin-left: -14px;
  font-weight: 700;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) ul[data-lq-head-level="4"] > li::before,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) ol[data-lq-head-level="4"] > li::before {
  content: "◆";
  color: #ff8800;
  display: inline-block;
  width: 14px;
  margin-left: -14px;
  font-size: 11px;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) ul[data-lq-head-level="5"] > li::before,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) ol[data-lq-head-level="5"] > li::before {
  content: "✓";
  color: #ff8800;
  display: inline-block;
  width: 14px;
  margin-left: -14px;
  font-weight: 700;
}

:where(.lq-content-typography, .lq-article-content, .lq-category-content) ul[data-lq-head-level="6"] > li::before,
:where(.lq-content-typography, .lq-article-content, .lq-category-content) ol[data-lq-head-level="6"] > li::before {
  content: "◦";
  color: #ff8800;
  display: inline-block;
  width: 14px;
  margin-left: -14px;
  font-weight: 700;
}

.lq-inline-gallery-slider {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.lq-inline-gallery-nav {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
}

.lq-inline-gallery-nav:hover {
  background: var(--brand);
}

.lq-inline-gallery-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.lq-product-inline-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px) / 3);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2px;
}

.lq-product-inline-gallery__item {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
}

.lq-product-inline-gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.lq-pd-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lq-pd-video-item {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
}

.lq-pd-video-item__thumb {
  display: block;
  background: #f8f8f8;
}

.lq-pd-video-item__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.lq-pd-video-item__title {
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.lq-pd-empty {
  margin: 0;
  color: #666;
  font-style: italic;
}

.lq-pd-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.lq-pd-spec-table th,
.lq-pd-spec-table td {
  border-bottom: 1px solid #ececec;
  padding: 9px 8px;
  text-align: left;
  vertical-align: top;
}

.lq-pd-spec-table th {
  width: 180px;
  font-weight: 800;
  color: #333;
}

.lq-pd-spec-extra {
  margin-top: 14px;
}

.lq-product-tab-jump {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  font-weight: 700;
  background: #fff;
}

.lq-product-tab-jump:hover {
  background: var(--brand);
}

.download-group {
  display: grid;
  gap: 8px;
}

.download-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.download-buttons a {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #111;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  background: #fff;
}

.download-btn-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.download-btn-icon.pdf-logo {
  width: auto;
  min-width: 28px;
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.download-btn-icon.pc {
  color: #0078d4;
}

.download-btn-icon.ios {
  color: #111;
}

.download-btn-icon.android {
  color: #2ba54a;
}

.download-buttons a:hover {
  background: var(--brand);
}

.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slider-nav {
  display: flex;
  gap: 6px;
}

.slider-nav button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
}

.slider-nav button:hover {
  background: var(--brand);
}

.slider-track {
  margin-top: 10px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 30px) / 4);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2px;
}

.slider-track > * {
  scroll-snap-align: start;
}

.cart-page {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 14px;
  background: #fff;
}

.cart-page.has-sticky-cta {
  padding-bottom: 120px;
}

.cart-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-save-form {
  margin: 0;
}

.cart-checkout-steps {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto minmax(26px, 1fr) auto minmax(26px, 1fr) auto;
  gap: 8px;
  align-items: center;
  background: #fff;
}

.cart-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}

.cart-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #111;
  background: #fff;
}

.cart-step.is-current {
  color: #111;
}

.cart-step.is-current .cart-step-dot {
  background: #ff8800;
}

.cart-step.is-done {
  color: #111;
}

.cart-step.is-done .cart-step-dot {
  background: #111;
  color: #fff;
}

.cart-step-line {
  height: 1px;
  border-top: 1px dashed #cbd5e1;
}

.cart-step-line.is-done {
  border-top-color: #111;
}

.cart-status-ok {
  margin: 0 0 10px;
  color: #0e9f6e;
  font-weight: 700;
}

.cart-status-error {
  margin: 0 0 10px;
  color: #b91c1c;
  font-weight: 700;
}

.cart-status-note {
  margin: 0 0 10px;
  color: #374151;
  font-weight: 700;
}

.cart-status-note a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-thankyou-title {
  margin: 4px 0 2px;
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.checkout-thankyou-copy {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #1f2937;
}

.cart-quote-result {
  margin: 0 0 10px;
  border: 1px solid #0e9f6e;
  border-radius: 10px;
  background: #ecfdf3;
  padding: 10px 12px;
}

.cart-quote-meta {
  margin: 0;
}

.cart-quote-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-transfer-card {
  margin-top: 10px;
  border: 1px solid #ff8800;
  border-radius: 12px;
  background: #fff7ed;
  padding: 12px;
}

.checkout-transfer-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #111;
}

.checkout-transfer-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #374151;
}

.checkout-transfer-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 10px;
  align-items: center;
}

.checkout-transfer-copy {
  border: 1px solid #f4c38d;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}

.checkout-transfer-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #111;
}

.checkout-transfer-copy p + p {
  margin-top: 4px;
}

.checkout-transfer-note {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: #065f46 !important;
  font-weight: 700 !important;
}

.checkout-transfer-copy p span {
  display: inline-block;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 800;
}

.checkout-transfer-tools {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-transfer-tools .btn-outline {
  padding: 6px 10px;
  font-size: 12px;
}

.checkout-transfer-qr {
  border: 1px solid #f4c38d;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  display: grid;
  place-items: center;
}

.checkout-transfer-qr img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.checkout-cod-note {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(176px, auto) auto auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.cart-item-info {
  min-width: 0;
}

.cart-stock-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-eta-text {
  font-size: 13px;
  color: #4b5563;
}

.cart-tier-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.qty-inline-form {
  display: grid;
  grid-template-columns: 56px auto;
  align-items: center;
  gap: 6px;
}

.qty-inline-form input {
  width: 54px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 6px;
  text-align: center;
}

.qty-inline-form button {
  height: 34px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.qty-inline-form button:hover {
  background: var(--brand);
}

.qty-live-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #0f766e;
}

.qty-live-note.is-alert {
  color: #b91c1c;
  font-weight: 700;
}

.cart-row .remove {
  border: 1px solid #111;
  border-radius: 8px;
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.cart-line-price {
  white-space: nowrap;
  text-align: right;
  font-weight: 800;
  color: #ff8800;
}

.cart-summary-inline {
  margin-top: 10px;
}

.cart-totals-lines {
  display: grid;
  gap: 4px;
}

.cart-totals-lines p {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(160px, auto);
  align-items: center;
  gap: 10px;
}

.cart-totals-lines p > span {
  display: block;
  font-weight: 800;
  text-align: right;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  padding: 7px 12px;
}

.cart-totals-lines p > strong {
  display: block;
  text-align: right;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  padding: 7px 12px;
}

.cart-totals-lines p.is-total {
  font-size: 18px;
}

.cart-totals-lines p.is-total strong {
  color: #ff8800;
  border-color: #ff8800;
  background: #fff8ef;
}

.cart-primary-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-saved-block {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.cart-saved-block p {
  margin: 0 0 8px;
}

.cart-saved-list {
  display: grid;
  gap: 6px;
}

.cart-saved-item {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.cart-saved-item a:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cart-saved-item .remove {
  border: 1px solid #111;
  border-radius: 8px;
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.cart-saved-item .remove:hover {
  background: var(--brand);
}

.cart-contact-box,
.cart-trust-box {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.cart-contact-box p,
.cart-trust-box p {
  margin: 0;
}

.cart-contact-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-cross-sell-grid {
  margin-top: 8px;
}

.cart-sticky-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 70;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #111;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.15);
}

.cart-sticky-total {
  display: grid;
  gap: 2px;
  justify-items: end;
}

.cart-sticky-total span {
  font-size: 12px;
  color: #4b5563;
  font-weight: 800;
  text-align: right;
}

.cart-sticky-total strong {
  color: #ff8800;
  font-size: 22px;
  line-height: 1;
}

.cart-sticky-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-cart-has-sticky {
  --floating-top-bottom: 108px;
}

@media (max-width: 991px) {
  .cart-checkout-steps {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cart-step-line {
    display: none;
  }

  .cart-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .cart-line-price {
    text-align: left;
  }

  .cart-sticky-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .cart-page.has-sticky-cta {
    padding-bottom: 150px;
  }

  .cart-sticky-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .cart-sticky-actions .btn,
  .cart-sticky-actions .btn-outline {
    justify-content: center;
    text-align: center;
    min-height: 38px;
    padding: 0 6px;
    font-size: clamp(11.8px, 2.55vw, 13.8px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-cart-has-sticky {
    --floating-top-bottom: 176px;
  }
}

.cart-row .remove:hover {
  background: var(--brand);
}

.desktop-only {
  display: flex;
}

.quote-form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.checkout-label-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.checkout-required-note {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #991b1b;
}

.checkout-required-note span {
  color: #dc2626;
  font-weight: 900;
}

.checkout-required-star {
  color: #dc2626;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  font-weight: 500;
}

.checkout-payment-highlight {
  border: 1px solid #ff8800;
  border-radius: 10px;
  background: #fff8ef;
  padding: 12px;
}

.checkout-payment-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #111;
}

.checkout-payment-title span {
  color: #e11d48;
}

.checkout-payment-note {
  margin: 4px 0 10px;
  font-size: 12px;
  color: #374151;
}

.checkout-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checkout-payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #1f2937;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
}

.checkout-payment-option span {
  font-size: 13px;
  font-weight: 700;
}

.checkout-payment-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #ff8800;
}

.checkout-payment-option:has(input[type="radio"]:checked) {
  border-color: #ff8800;
  background: #fff4e5;
  box-shadow: 0 0 0 1px rgba(255, 136, 0, 0.25);
}

.quote-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.js-quote-submit-btn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.quote-local-note {
  margin: -2px 0 0;
  font-size: 12px;
  color: #4b5563;
}

.quote-local-status {
  margin-top: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 12px;
  align-items: start;
}

.checkout-main h3,
.checkout-side h3 {
  margin-top: 0;
}

.checkout-items {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.checkout-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.checkout-item-row > div:first-child {
  min-width: 0;
}

.checkout-item-row > div:first-child strong {
  display: block;
}

.checkout-item-row > div:first-child div {
  font-size: 12px;
  color: #4b5563;
}

.checkout-item-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .brand-row {
    grid-template-columns: minmax(240px, 270px) minmax(220px, 1fr) auto;
  }

  .mega-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-header-inner {
    min-height: 0;
    padding: 8px 0;
  }

  .checkout-transfer-grid {
    grid-template-columns: 1fr;
  }

  .checkout-transfer-qr {
    justify-self: start;
  }

  .checkout-transfer-qr img {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 991px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-payment-options {
    grid-template-columns: 1fr;
  }

  .top-header-inner {
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 7px 0;
  }

  .top-brand {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
    font-size: clamp(10px, 2.6vw, 12px);
  }

  .brand-row {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo menu actions"
      "search search search";
    gap: 8px 10px;
    padding: 8px 0;
    overflow: visible;
  }

  .logo-lang-wrap {
    grid-area: logo;
    gap: 8px;
    min-width: 0;
  }

  .site-logo {
    max-width: 150px;
  }

  .mobile-menu-toggle {
    grid-area: menu;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #111;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: #111;
  }

  .header-actions {
    grid-area: actions;
    min-width: 0;
    gap: 6px;
    overflow: hidden;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .header-search-wrap {
    grid-area: search;
    min-width: 0;
    display: grid;
    gap: 8px;
    position: relative;
    z-index: 260;
  }

  .header-search {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .header-search input {
    min-width: 0;
  }

  body.is-sticky.page-blog .header-search-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  body.is-sticky.page-blog .header-search {
    display: none;
  }

  body.is-sticky.page-blog .header-search-blog {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .zalo-btn,
  .hotline-btn,
  .cart-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .menu-row-wrap {
    display: none;
  }

  .mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .mobile-nav-inner {
    width: 100%;
    max-width: 1800px;
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    display: grid;
    gap: 8px;
  }

  .mobile-nav-inner > a,
  .mobile-category-toggle {
    border: 1px solid #111;
    border-radius: 999px;
    min-height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    background: #fff;
  }

  .mobile-category-toggle {
    cursor: pointer;
  }

  .mobile-category-list {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-category-list.is-open {
    display: grid;
  }

  .hero {
    margin-top: 6px;
  }

  .category-grid,
  .product-grid,
  .knowledge-grid,
  .home-brand-grid,
  .home-custom-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-search-form {
    flex-wrap: wrap;
  }

  .blog-search-form input[type="search"] {
    width: 100%;
    min-width: 0;
  }

  .lq-catalog-products {
    grid-template-columns: 1fr;
  }

  .site-footer.lq-footer {
    padding: 30px 12px 16px;
  }

  .lq-footer__inner {
    width: min(100%, calc(100vw - 20px));
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lq-footer__col {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .lq-footer__col h3 {
    font-size: 24px;
  }

  .lq-footer__col p {
    font-size: 15px;
  }

  .lq-footer__bank-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lq-footer__bank-qr {
    width: min(180px, 62vw);
    flex-basis: auto;
  }

  .lq-footer__map-card {
    max-width: 100%;
  }

  .lq-footer__links a {
    font-size: 15px;
  }

  .lq-footer__bottom {
    width: min(100%, calc(100vw - 20px));
  }

  .product-page,
  .lq-pd-hero {
    grid-template-columns: 1fr;
  }

  .lq-pd-thumb-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .lq-pd-thumb-nav {
    display: none;
  }

  .product-thumbnails,
  .lq-pd-thumbnails {
    --thumb-visible: 3;
  }

  .lq-pd-main-image {
    min-height: 320px;
  }

  .lq-pd-main-image img {
    max-height: 300px;
  }

  .lq-pd-price-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
  }

  .lq-pd-price {
    font-size: clamp(24px, 5.4vw, 34px);
  }

  .lq-pd-stock-status {
    justify-self: center;
  }

  .lq-pd-stock-qty {
    justify-self: end;
  }

  .lq-pd-buy-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
  }

  .lq-pd-qty-box {
    width: auto;
    min-width: 152px;
  }

  .lq-pd-cart-form,
  .lq-pd-out-stock {
    width: auto;
  }

  .slider-track {
    grid-auto-columns: calc((100% - 10px) / 2);
  }

  .lq-inline-gallery-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .lq-inline-gallery-nav {
    display: none;
  }

  .lq-product-inline-gallery {
    grid-auto-columns: 100%;
  }

  .lq-pd-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lq-catalog-selected-view .section-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lq-catalog-selected-view .section-head .lq-catalog-toolbar {
    order: -1;
    margin-bottom: 2px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .lq-catalog-selected-view .lq-catalog-sort-form {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .lq-catalog-selected-view .lq-catalog-sort-inline {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
  }

  .lq-catalog-selected-view .lq-catalog-sort-inline .lq-catalog-sort-dropdown {
    margin-left: 0;
  }

  .lq-catalog-selected-view .lq-catalog-filter-dropdown {
    width: 100%;
    min-width: 0;
  }

  .lq-catalog-selected-view .lq-catalog-filter-dropdown > summary {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    padding: 0 12px;
    justify-content: space-between;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lq-catalog-selected-view .lq-catalog-filter-panel {
    left: auto;
    right: 0;
    min-width: 240px;
  }

  .lq-catalog-selected-view .lq-catalog-sort-dropdown .lq-catalog-filter-panel {
    left: 0;
    right: auto;
  }

  .lq-catalog-selected-view .lq-catalog-toolbar > .btn-outline {
    min-height: 38px;
    white-space: nowrap;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .desktop-only {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-actions {
    gap: 6px;
  }

  .zalo-btn,
  .hotline-btn,
  .cart-btn {
    height: 36px;
    width: 36px;
    min-width: 36px;
  }

  .header-action-icon {
    width: 16px;
    height: 16px;
  }

  .site-logo {
    height: 48px;
    max-width: 120px;
  }

  .site-logo-image {
    height: 48px;
  }

  .section-title {
    font-size: 21px;
  }

  .blog-search-form button,
  .blog-search-clear {
    min-height: 38px;
    padding: 0 14px;
  }

  body.is-sticky.page-blog .header-search input {
    font-size: 13px;
    padding: 0 12px;
  }

  .top-brand-links {
    gap: 6px;
  }

  .top-brand-sep {
    display: none;
  }

  .product-card {
    grid-template-rows: 175px auto;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .home-custom-grid {
    grid-template-columns: 1fr;
  }

  .lq-catalog-jump a {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
  }

  .lq-catalog-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

  .lq-catalog-sort-form {
    width: 100%;
    justify-content: space-between;
  }

  .lq-catalog-filter-form {
    justify-content: flex-start;
    width: 100%;
  }

  .lq-catalog-sort-inline {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .lq-catalog-filter-dropdown {
    width: 100%;
  }

  .lq-catalog-filter-dropdown > summary {
    width: 100%;
  }

  .lq-catalog-filter-panel {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .lq-catalog-product-meta {
    align-items: flex-end;
  }

  .lq-catalog-product-price {
    font-size: 19px;
  }

  .lq-catalog-product-hover {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .video-group-head h2 {
    font-size: 16px;
  }

  .product-price {
    font-size: 20px;
  }

  .tab-nav {
    flex-direction: column;
  }

  .tab-nav button {
    width: 100%;
  }

  .lq-pd-title {
    font-size: 25px;
  }

  .lq-pd-breadcrumb {
    font-size: 11px;
  }

  .lq-pd-price {
    font-size: clamp(22px, 7vw, 30px);
  }

  .lq-pd-stock-qty,
  .lq-pd-stock-status {
    font-size: 11px;
    padding: 4px 9px;
  }

  .lq-pd-video-grid {
    grid-template-columns: 1fr;
  }

  .lq-pd-spec-table th,
  .lq-pd-spec-table td {
    padding: 8px 6px;
    font-size: 13px;
  }

  .lq-pd-spec-table th {
    width: 40%;
  }

  .cart-row {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: flex-start;
  }

  .cart-line-price {
    text-align: left;
  }

  .cart-top-actions {
    width: 100%;
  }

  .cart-primary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cart-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
  }

  .cart-sticky-actions .btn,
  .cart-sticky-actions .btn-outline {
    min-height: 36px;
    padding: 0 6px;
    font-size: 12px;
  }

.floating-top {
    bottom: calc(var(--floating-top-bottom, 14px) + env(safe-area-inset-bottom, 0px));
    right: 14px;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-switch--brand a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.88;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.lang-switch--brand a:hover {
  background: #fff6e9;
  opacity: 1;
}

.lang-switch--brand a.is-active {
  background: #ff8800;
  opacity: 1;
}

.lang-flag {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 991px) {
  .lang-switch--brand a {
    width: 30px;
    height: 30px;
  }

  .lang-flag {
    font-size: 16px;
  }
}
