.stock-editor {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.stock-header {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: 20px;
    font-size: 2em;
    border-bottom: 1px solid #ccc;
}

.collapsible-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 1em;
}

.menu-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    border-bottom: #1A1A1A solid 1px;
    min-width: 0;
}

.menu-header-arrow {
    transform: rotate(-180deg);
    margin-left: 0.5em;
    transition: transform 0.2s ease-in-out;
}

/* rotate the arrow down when the details are open */
.menu-header-arrow-down {
    margin-left: 0.5em;
    transform: rotate(-90deg);
}

.menu-content {
    max-width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    margin-top: 1em;
}

.product-details-content-item {
    padding-top: 0.6em;
}

.menu-content-item {
    width: 100%;
    margin-bottom: 1em;
}
