/* ACore Amazon Category Menu v2 - Collapsible panel styling */
.acore-amazon-menu-wrap { position: relative; }
.acore-amazon-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  width: var(--acore-amazon-menu-width, 220px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.acore-amazon-icon { font-size: 16px; }
.acore-amazon-caret { margin-left: auto; }
.acore-amazon-list {
  display: none;
  width: var(--acore-amazon-menu-width, 220px);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 10px;
  position: sticky;
  top: 100px;
  z-index: 999;
}
.acore-amazon-list[aria-hidden="false"] { display: block; }
.acore-amazon-heading { font-size: 16px; margin: 0 0 8px 0; font-weight:700; }
.acore-amazon-cats { list-style: none; padding: 0; margin: 0; max-height: 70vh; overflow: auto; }
.acore-amazon-cats .acore-cat { padding: 6px 0; border-bottom: 1px solid #f5f5f5; display:flex; align-items:center; gap:8px; }
.acore-amazon-cats .acore-cat a { text-decoration: none; color:#222; font-weight:600; }
.acore-amazon-cats .acore-cat .acore-expand { margin-left: auto; background: transparent; border: none; font-size:16px; cursor:pointer; }
.acore-subcats { list-style:none; margin:6px 0 0 0; padding-left:12px; display:none; }
.acore-subcats li { padding:4px 0; }
.acore-subcats li a { color:#444; font-weight:500; text-decoration:none; }

/* when expanded */
.acore-cat.expanded > .acore-subcats { display:block; }

/* Responsive behavior */
@media (max-width:991px) {
  .acore-amazon-toggle { width: auto; }
  .acore-amazon-list { position: fixed; left: 10px; top: 90px; width: calc(100% - 20px); max-width: 420px; }
}
