/* Menu ngành hàng desktop: bo nhẹ, nền sáng và điểm nhấn cổ vịt. */
.gk-products-menu {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  width: min(48rem, calc(100vw - 3rem));
  max-height: calc(100dvh - 7rem);
  overflow: auto;
  border-radius: var(--radius-chip);
  background: var(--color-surface);
  color: var(--color-body);
  box-shadow: var(--shadow-popover);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
}

.gk-products-menu-sidebar {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem 1rem;
  border-right: 1px solid var(--color-line);
  background: var(--color-surface-muted);
}

.gk-products-menu-label {
  margin-bottom: 0.75rem;
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

.gk-products-menu-sidebar > .gk-products-menu-label {
  padding-inline: 0.875rem;
}

.gk-products-menu-sectors {
  display: grid;
  gap: 0.25rem;
}

.gk-products-menu-sector {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem;
  border-radius: var(--radius-chip);
  font-weight: 600;
}

.gk-products-menu-sector:hover,
.gk-products-menu-sector.is-active {
  background: var(--color-surface);
  color: var(--color-link);
}

.gk-products-menu-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.gk-products-menu-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 1.75rem 0.875rem 0.5rem;
  color: var(--color-link);
  font-size: var(--text-xs);
  font-weight: 600;
}

.gk-products-menu-content {
  min-width: 0;
  padding: 1.75rem;
}

.gk-products-menu-title {
  display: block;
  margin-bottom: 1rem;
  color: var(--color-link);
  font-size: var(--text-lg);
  font-weight: 700;
}

.gk-products-menu-children {
  display: grid;
  margin-bottom: 1.5rem;
}

.gk-products-menu-children a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--color-line);
}

.gk-products-menu-brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.gk-products-menu-brand {
  display: flex;
  height: 3.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  border-radius: var(--radius-chip);
  background: var(--color-surface-muted);
  text-align: center;
  font-size: var(--text-xs);
}

.gk-products-menu-brand img {
  width: 100%;
  max-height: 2.5rem;
  object-fit: contain;
}

.gk-products-menu-title:hover,
.gk-products-menu-children a:hover,
.gk-products-menu-brand:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.gk-products-menu-all:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.gk-products-menu a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.gk-products-menu-sidebar a:focus-visible {
  outline-offset: -3px;
}
