TEST
Schema Interactivă a Pompelor
.tree-item {
background: #fff;
border-radius: 10px;
margin: 0.5rem 0;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
transition: all 0.3s ease;
overflow: hidden;
}
.tree-header {
padding: 0.8rem 1rem;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
color: #1a1a1a;
}
.tree-header:hover {
background: #f0f4ff;
}
.tree-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.3s ease;
padding: 0 1rem;
}
.tree-content.open {
padding: 0.5rem 1rem 1rem;
}
.tree-content.open.show {
max-height: 1000px;
}
.category, .brand {
margin: 0.4rem 0;
padding: 0.4rem 0.8rem;
border-radius: 6px;
transition: background 0.2s;
}
.category:hover, .brand:hover {
background: #f7f9ff;
}
.brand a {
text-decoration: none;
color: #0078ff;
}
.brand a:hover {
text-decoration: underline;
}
.icon {
transition: transform 0.3s;
}
.rotated {
transform: rotate(90deg);
}
