header-menu {
  position: fixed;
  top: 58px;
  left: 0px;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100% !important;
}

/* Layout container */
header-menu .container {
  display: flex;
  width: 100% !important;
  background: #f7f5f1;
  box-shadow: 0 0 12px rgb(0 0 0 / 0.07);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  min-height: 360px;
  padding: 0px !important;
}

/* Sidebar menu left */
header-menu .sidebar {
  width: 200px;
  padding: 32px 24px 24px 40px;
  background: #f7f5f1;
  user-select: none;
}

header-menu .sidebar nav a {
  display: block;
  margin-bottom: 18px;
  color: #888;
  font-style: normal;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s ease;
  text-transform: none;
}

header-menu .sidebar nav a:first-child {
  font-weight: 700;
  color: #222;
  text-decoration: underline;
  cursor: default;
  margin-bottom: 28px;
}

/* Main section right */
header-menu .main {
  flex: 1;
  padding: 32px 40px;
  border-left: 1px solid #c9c4b7;
  background: #efebe7;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

header-menu .main .title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid #222;
  padding-bottom: 6px;
  margin-bottom: 12px;
  user-select: none;
  color: #222;
}

/* Grid for brand images */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.brand-card {
  position: relative;
  background-color: #ddd;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 4px;
  user-select: none;
}

.brand-card img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.brand-card:hover img {
  transform: scale(1.05);
}

/* Brand label overlay */
.brand-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #f8f8f8;
  font-family: "Times New Roman", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.15em;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  line-height: 1.2;
  user-select: none;
  max-width: calc(100% - 20px);
  text-transform: uppercase;
}

/* Sub text below brand label for some cards */
.brand-sublabel {
  position: absolute;
  bottom: 5px;
  left: 12px;
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
}

#header-main:hover header {
  background-color: white;
  color: black;
}

header-mobile {
  width: 78px !important;
  display: none;
  align-items: center !important;
  justify-content: flex-end;
}
