/* modules/homepagebigmenu/views/css/homepagebigmenu.css */
/* Design: sidebar + columns, sharp edges, accent #FFCC00 */

:root {
  --hbm-fg: #2E2E2E;
  --hbm-muted: #454444;
  --hbm-border: rgba(0,0,0,.10);
  --hbm-accent: #FFCC00;
  --hbm-bg: #ffffff;
}

.hbm { padding: 0; background: var(--hbm-bg); color: var(--hbm-fg); }
.hbm * { box-sizing: border-box; }

.hbm-wrap {
  display: grid;
  grid-template-columns: 350px 1fr;
  min-height: 330px;
  border: 0px solid var(--hbm-border);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

/* LEFT: Sidebar */
.hbm-aside {
  border-right: 1px solid var(--hbm-border);
  padding: 15px;
  background: #fff;
}

.hbm-aside-list { list-style: none; margin: 0; padding: 0; }

.hbm-aside-item {
  margin: 0;
}

.hbm-aside-link i:nth-child(1) {
  font-size: 28px;
}

.hbm-aside-link {
  display: grid;
  grid-template-columns: 22px 1fr 18px;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--hbm-fg);
  padding: 12px 12px;
  border: 1px solid transparent;
}

.hbm-aside-item.is-active .hbm-aside-link {
  background: var(--hbm-accent);
  color: #111;
  border-color: var(--hbm-accent);
}

.hbm-aside-link:hover {
  background: rgba(0,0,0,.04);
}

.hbm-aside-arrow { justify-self: end; opacity: .8; }

/* RIGHT: Content */
.hbm-content {
  padding: 20px 30px 30px 30px;
}

.hbm-panel { display: none; }
.hbm-panel.is-active { display: block; }

.hbm-panel-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hbm-panel-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
}

.hbm-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--hbm-fg);
  border: 1px solid var(--hbm-border);
  padding: 10px 14px;
}

.hbm-all:hover { border-color: #000; }

/* Columns of subcategories */
.hbm-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px 42px;
}

@media (max-width: 1100px) {
  .hbm-wrap { grid-template-columns: 240px 1fr; }
  .hbm-columns { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 720px) {
  .hbm-wrap { grid-template-columns: 1fr; }
  .hbm-aside { border-right: none; border-bottom: 1px solid var(--hbm-border); }
  .hbm-columns { grid-template-columns: 1fr; }
}

.hbm-col { padding-top: 8px; }

.hbm-col-title {
  color: var(--hbm-accent);
  font-weight: 700;
  text-decoration: none;
}

.hbm-col-title:hover { text-decoration: underline; }

.hbm-links {
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}

.hbm-links li { margin: 6px 0; }

.hbm-links a {
  color: var(--hbm-fg);
  text-decoration: none;
}

.hbm-links a:hover { text-decoration: underline; }

.hbm-count {
  font-size: 11px;
  margin-left: 6px;
  color: #454444;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: normal;
}

.hbm-showall {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--hbm-fg);
  text-decoration: none;
  margin-top: 6px;
}

.hbm-showall:hover { text-decoration: underline; }

