.smg-tree-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 1px;
}

.smg-tree-wrapper .canvas-container,
.smg-tree-canvas {
    aspect-ratio: 1 / 1;
    max-width: 100%;
    height: auto !important;
}

.smg-tree-ornament-editor {
    display: flex;
    flex-flow: column nowrap;
}

@media (min-width: 768px) {
    .smg-tree-ornament-editor {
        display: grid;
        grid-template-columns: 1fr 150px;
    }
}

.smg-tree-toolbar {
    background: #f5f5f5;
    border-radius: 4px;
    padding: 10px;
    order: -1;
}

@media (min-width: 768px) {
    .smg-tree-toolbar {
        order: 2;
    }
}

.smg-tree-toolbar-ornament {
    background: transparent !important;
    border-radius: 4px !important;
    padding: 10px !important;
    width: 20% !important;
}

@media (min-width: 768px) {
    .smg-tree-toolbar-ornament {
        width: 100% !important;
    }
}

.smg-tree-toolbar-ornament:hover {
    background: rgba(0, 0, 0, 0.2) !important;
}

.smg-tree-count {
    margin-bottom: 30px;
}

.smg-tree-count label {
    display: block;
}

.smg-tree-count progress {
    width: 100%
}